Skip to contentSkip to conversation

dra7x: dfu: qspi: increase the qspi spl partition to 256K

PATCH In review Ravi Babu 3 participants 4 messages Sep 26, 2016 – Oct 8, 2016

lore
Share & tools
lore

Ravi Babu

author
#0 lore raw

PATCH 1/1 dra7x: dfu: qspi: increase the qspi spl partition to 256K

The SPL size for dra7x platform increased beyond 64K, increasing the size to 256K to cater for future enhancement.

---
 include/configs/dra7xx_evm.h | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)
include/configs/dra7xx_evm.h +2 -8
index 72daddf..827c1df 100644
@@ -105,10 +105,7 @@
 
 #define DFU_ALT_INFO_QSPI \
 	"dfu_alt_info_qspi=" \
-	"MLO raw 0x0 0x010000;" \
-	"MLO.backup1 raw 0x010000 0x010000;" \
-	"MLO.backup2 raw 0x020000 0x010000;" \
-	"MLO.backup3 raw 0x030000 0x010000;" \
+	"MLO raw 0x0 0x040000;" \
 	"u-boot.img raw 0x040000 0x0100000;" \
 	"u-boot-spl-os raw 0x140000 0x080000;" \
 	"u-boot-env raw 0x1C0000 0x010000;" \
@@ -183,10 +180,7 @@
 
 /*
  * Default to using SPI for environment, etc.
- * 0x000000 - 0x010000 : QSPI.SPL (64KiB)
- * 0x010000 - 0x020000 : QSPI.SPL.backup1 (64KiB)
- * 0x020000 - 0x030000 : QSPI.SPL.backup2 (64KiB)
- * 0x030000 - 0x040000 : QSPI.SPL.backup3 (64KiB)
+ * 0x000000 - 0x040000 : QSPI.SPL (256KiB)
  * 0x040000 - 0x140000 : QSPI.u-boot (1MiB)
  * 0x140000 - 0x1C0000 : QSPI.u-boot-spl-os (512KiB)
  * 0x1C0000 - 0x1D0000 : QSPI.u-boot-env (64KiB)
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 dra7x: dfu: qspi: increase the qspi spl partition to 256K

Quoted 4 lines · Ravi Babu

The SPL size for dra7x platform increased beyond 64K, increasing the size to 256K to cater for future enhancement.

Have you tested this with a larger SPL to confirm that the ROM will read more than one sector?

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/20160926/438b9a20/attachment.sig>
#2 lore raw

PATCH 1/1 dra7x: dfu: qspi: increase the qspi spl partition to 256K

Tom

Quoted 6 lines
Quoted 4 lines

The SPL size for dra7x platform increased beyond 64K, increasing the size to 256K to cater for future enhancement.

Have you tested this with a larger SPL to confirm that the ROM will read more than one sector?

Yes, I have tested SPL size upto 160KB, ROM is able to load to on-chip memory and execute.

Regards
Ravi

#3 lore raw
In reply to Ravi Babu
Quoted 4 lines · Ravi

The SPL size for dra7x platform increased beyond 64K, increasing the size to 256K to cater for future enhancement.

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/20161008/9ab9ae1e/attachment.sig>