Patchwork [U-Boot,v2,2/5] am335x_evm: Correct DFU ALT settings for falcon mode

login
register
mail settings
Submitter Tom Rini
Date July 8, 2013, 4:15 p.m.
Message ID <1373300118-27306-3-git-send-email-trini@ti.com>
Download mbox | patch
Permalink /patch/257573/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Tom Rini - July 8, 2013, 4:15 p.m.
Now that we have falcon mode enabled, the partiton numbers for NAND have
changed, and we need to list entries for updating these parts of the
system.  While adding falcon mode entires for eMMC (raw), we round up
the limit on U-Boot for ease of math later.

Signed-off-by: Tom Rini <trini@ti.com>
---
 include/configs/am335x_evm.h |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
Peter Korsgaard - July 8, 2013, 7:28 p.m.
>>>>> "Tom" == Tom Rini <trini@ti.com> writes:

 Tom> Now that we have falcon mode enabled, the partiton numbers for NAND have
 Tom> changed, and we need to list entries for updating these parts of the
 Tom> system.  While adding falcon mode entires for eMMC (raw), we round up
 Tom> the limit on U-Boot for ease of math later.

 Tom> Signed-off-by: Tom Rini <trini@ti.com>

Reviewed-by: Peter Korsgaard <jacmet@sunsite.dk>

Patch

diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index c5a6d4b..b974d1b 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -238,7 +238,11 @@ 
 	"rootfs part 0 2;" \
 	"MLO fat 0 1;" \
 	"MLO.raw mmc 100 100;" \
-	"u-boot.img.raw mmc 300 3C0;" \
+	"u-boot.img.raw mmc 300 400;" \
+	"spl-os-args.raw mmc 80 80;" \
+	"spl-os-image.raw mmc 900 2000;" \
+	"spl-os-args fat 0 1;" \
+	"spl-os-image fat 0 1;" \
 	"u-boot.img fat 0 1;" \
 	"uEnv.txt fat 0 1"
 #define DFU_ALT_INFO_NAND \
@@ -247,8 +251,9 @@ 
 	"SPL.backup2 part 0 3;" \
 	"SPL.backup3 part 0 4;" \
 	"u-boot part 0 5;" \
-	"kernel part 0 7;" \
-	"rootfs part 0 8"
+	"u-boot-spl-os part 0 6;" \
+	"kernel part 0 8;" \
+	"rootfs part 0 9"
 
  /* Physical Memory Map */
 #define CONFIG_NR_DRAM_BANKS		1		/*  1 bank of DRAM */