Skip to contentSkip to conversation

omap3: omap3_logic: Disable Falcon mode

PATCH New Adam Ford 2 participants 3 messages Jul 17, 2017 – Jul 18, 2017

lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/1 omap3: omap3_logic: Disable Falcon mode

Now that Falcon mode supports zImages, any attempts to load from NAND fail, since the system assumes it's Falcon booting. The Micron Flash needs to be unlocked which isn't yet supported in Falcon mode, so we need to disable it until its ready.

include/configs/omap3_logic.h +1 -0
index f897803..0fe753d 100644
@@ -16,6 +16,7 @@
 #define CONFIG_NR_DRAM_BANKS	2	/* CS1 may or may not be populated */
 
 #include <configs/ti_omap3_common.h>
+#undef CONFIG_SPL_OS_BOOT
 
 #ifdef CONFIG_SPL_BUILD
 /*
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 omap3: omap3_logic: Disable Falcon mode

Quoted 2 lines · Adam Ford

Now that Falcon mode supports zImages, any attempts to load from NAND fail, since the system assumes it's Falcon booting.

yeah, when it fails loading zImage, it will fallback to loading u-boot. Is that not the behaviour?

Quoted 2 lines

The Micron Flash needs to be unlocked which isn't yet supported in Falcon mode, so we need to disable it until its ready.

So, falcon mode tries to load zImage form the same boot mode which you are currently booting from. Why is this a special case for FALCON boot and not for normal u-boot loading?

Thanks and regards,
Lokesh

Quoted 16 lines
include/configs/omap3_logic.h +1 -0
index f897803..0fe753d 100644
@@ -16,6 +16,7 @@
 #define CONFIG_NR_DRAM_BANKS	2	/* CS1 may or may not be populated */
 
 #include <configs/ti_omap3_common.h>
+#undef CONFIG_SPL_OS_BOOT
 
 #ifdef CONFIG_SPL_BUILD
 /*
author
#2 lore raw

PATCH 1/1 omap3: omap3_logic: Disable Falcon mode

Quoted 9 lines · Lokesh Vutla
Quoted 2 lines · Adam Ford

Now that Falcon mode supports zImages, any attempts to load from NAND fail, since the system assumes it's Falcon booting.

yeah, when it fails loading zImage, it will fallback to loading u-boot. Is that not the behaviour?

Quoted 6 lines
Quoted 2 lines

The Micron Flash needs to be unlocked which isn't yet supported in Falcon mode, so we need to disable it until its ready.

So, falcon mode tries to load zImage form the same boot mode which you are currently booting from. Why is this a special case for FALCON boot and not for normal u-boot loading?

You're correct. I think something else was wrong. I reset my git repo with origin/master and I don't appear to need this.

Quoted 5 lines

Thanks and regards,
Lokesh

Quoted 1 line

Sorry for the noise. Please disregard this patch request.

adam

Quoted 15 lines
Quoted 15 lines
include/configs/omap3_logic.h +1 -0
index f897803..0fe753d 100644
@@ -16,6 +16,7 @@
 #define CONFIG_NR_DRAM_BANKS 2       /* CS1 may or may not be populated */
 
 #include <configs/ti_omap3_common.h>
+#undef CONFIG_SPL_OS_BOOT
 
 #ifdef CONFIG_SPL_BUILD
 /*