Skip to contentSkip to conversation

u-boot: disable SPL/MLO processing for omapl138 SOCs

PATCH In review Denys Dmytriyenko 3 participants 4 messages Jun 25, 2014 – Jun 26, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 u-boot: disable SPL/MLO processing for omapl138 SOCs

From: Denys Dmytriyenko <[email protected]>

---
 recipes-bsp/u-boot/u-boot_2014.07.bb | 3 +++
 1 file changed, 3 insertions(+)
recipes-bsp/u-boot/u-boot_2014.07.bb +3 -0
index b326aa1..9da6f7d 100644
@@ -25,3 +25,6 @@ SRCREV = "76b21026ceb5a6a83fc53b0ecdf425f240318022"
 
 SPL_BINARY = "MLO"
 SPL_UART_BINARY = "u-boot-spl.bin"
+
+SPL_BINARY_omapl138 = ""
+SPL_UART_BINARY_omapl138 = ""
Signature · 1 line
2.0.0
#1 lore raw
Quoted 12 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 recipes-bsp/u-boot/u-boot_2014.07.bb | 3 +++
 1 file changed, 3 insertions(+)
recipes-bsp/u-boot/u-boot_2014.07.bb +0 -0
index b326aa1..9da6f7d 100644

recipes-bsp/u-boot/u-boot_2014.07.bb SRCREV = "76b21026ceb5a6a83fc53b0ecdf425f240318022" · line 30

Quoted 6 lines
recipes-bsp/u-boot/u-boot_2014.07.bb +3 -0
@@ -25,3 +25,6 @@ SRCREV = "76b21026ceb5a6a83fc53b0ecdf425f240318022"
 
 SPL_BINARY = "MLO"
 SPL_UART_BINARY = "u-boot-spl.bin"
+
+SPL_BINARY_omapl138 = ""
+SPL_UART_BINARY_omapl138 = ""

omapl138 is am18xx right? SPL supports that. The only issue is that we need to ship u-boot.ais which is a combo image. If I'm looking at the right branch, the problem(s) right now are we don't use the right config target (da850_am18xxevm_config is what we want) and UBOOT_SUFFIX to "ais" (in the omapl138.inc file).

Signature · 1 line
Tom
#2 lore raw
Quoted 15 lines · Tom Rini
Quoted 13 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 recipes-bsp/u-boot/u-boot_2014.07.bb | 3 +++
 1 file changed, 3 insertions(+)
recipes-bsp/u-boot/u-boot_2014.07.bb +0 -0
index b326aa1..9da6f7d 100644
@@ -25,3 +25,6 @@ SRCREV = "76b21026ceb5a6a83fc53b0ecdf425f240318022"
 
Quoted 11 lines

recipes-bsp/u-boot/u-boot_2014.07.bb SRCREV = "76b21026ceb5a6a83fc53b0ecdf425f240318022" · line 30

Quoted 5 lines
recipes-bsp/u-boot/u-boot_2014.07.bb +3 -0
 SPL_BINARY = "MLO"
 SPL_UART_BINARY = "u-boot-spl.bin"
+
+SPL_BINARY_omapl138 = ""
+SPL_UART_BINARY_omapl138 = ""

omapl138 is am18xx right? SPL supports that. The only issue is that we need to ship u-boot.ais which is a combo image. If I'm looking at the right branch, the problem(s) right now are we don't use the right config target (da850_am18xxevm_config is what we want) and UBOOT_SUFFIX to "ais" (in the omapl138.inc file).

What's the difference between da850_config and da850_am18xxevm_config? The first one is what we used previously. Is the second one set ups the building of "ais" image?

As of UBOOT_SUFFIX, with hierarchical inclusion of different .inc files, it would be overwritten if defined in the machine config. Usually we end up specifying it in the machine-specific u-boot recipe. Let me take a look at it and see if we can move that var to the machine config...

Signature · 1 line
Denys
#3 lore raw
Quoted 28 lines · Denys Dmytriyenko
Quoted 15 lines · Tom Rini
Quoted 13 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 recipes-bsp/u-boot/u-boot_2014.07.bb | 3 +++
 1 file changed, 3 insertions(+)
recipes-bsp/u-boot/u-boot_2014.07.bb +0 -0
index b326aa1..9da6f7d 100644
@@ -25,3 +25,6 @@ SRCREV = "76b21026ceb5a6a83fc53b0ecdf425f240318022"
 
Quoted 11 lines

recipes-bsp/u-boot/u-boot_2014.07.bb SRCREV = "76b21026ceb5a6a83fc53b0ecdf425f240318022" · line 30

Quoted 5 lines
recipes-bsp/u-boot/u-boot_2014.07.bb +3 -0
 SPL_BINARY = "MLO"
 SPL_UART_BINARY = "u-boot-spl.bin"
+
+SPL_BINARY_omapl138 = ""
+SPL_UART_BINARY_omapl138 = ""

omapl138 is am18xx right? SPL supports that. The only issue is that we need to ship u-boot.ais which is a combo image. If I'm looking at the right branch, the problem(s) right now are we don't use the right config target (da850_am18xxevm_config is what we want) and UBOOT_SUFFIX to "ais" (in the omapl138.inc file).

Quoted 3 lines

What's the difference between da850_config and da850_am18xxevm_config? The first one is what we used previously. Is the second one set ups the building of "ais" image?

The difference between a "da850 evm" and "am18xx evm" is where the MAC is stored, da850_am18xxevm picks it up from the right place.

Quoted 4 lines

As of UBOOT_SUFFIX, with hierarchical inclusion of different .inc files, it would be overwritten if defined in the machine config. Usually we end up specifying it in the machine-specific u-boot recipe. Let me take a look at it and see if we can move that var to the machine config...

Right, I'm referring to the machine.inc file here since it's a SoC-level thing rather than a machine-tweakable thing.

Signature · 1 line
Tom