Skip to contentSkip to conversation

tools: imximage: Fix the maximum DCD size for mx53/mx6

PATCH New Fabio Estevam 4 participants 6 messages Sep 1, 2014 – Sep 9, 2014 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools: imximage: Fix the maximum DCD size for mx53/mx6

According to mx53 and mx6 reference manuals:

"The maximum size of the DCD limited to 1768 bytes."

As each DCD entry consists of 8 bytes, we have a total of 1768 / 8 = 221, and excluding the first entry, which is the header leads to 220 as the maximum number for DCD size.

---
 tools/imximage.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/imximage.h +1 -1
index 01f861e..5b5ad0e 100644
@@ -8,7 +8,7 @@
 #ifndef _IMXIMAGE_H_
 #define _IMXIMAGE_H_
 
-#define MAX_HW_CFG_SIZE_V2 121 /* Max number of registers imx can set for v2 */
+#define MAX_HW_CFG_SIZE_V2 220 /* Max number of registers imx can set for v2 */
 #define MAX_HW_CFG_SIZE_V1 60  /* Max number of registers imx can set for v1 */
 #define APP_CODE_BARKER	0xB1
 #define DCD_BARKER	0xB17219E9
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 tools: imximage: Fix the maximum DCD size for mx53/mx6

Acked!

Regards,
Nitin Garg

-----Original Message-----
From: Fabio Estevam [mailto:fabio.estevam at freescale.com]
Sent: Monday, September 01, 2014 7:56 AM
To: sbabic at denx.de
Cc: u-boot at lists.denx.de; jonas.d.karlsson at gmail.com; Li Ye-B37916; Garg Nitin-B37173; Estevam Fabio-R49496
Subject: [PATCH] tools: imximage: Fix the maximum DCD size for mx53/mx6

According to mx53 and mx6 reference manuals:

"The maximum size of the DCD limited to 1768 bytes."

As each DCD entry consists of 8 bytes, we have a total of 1768 / 8 = 221, and excluding the first entry, which is the header leads to 220 as the maximum number for DCD size.

---
 tools/imximage.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/imximage.h +2 -1
@@ -8,7 +8,7 @@
 #ifndef _IMXIMAGE_H_
 #define _IMXIMAGE_H_
 
-#define MAX_HW_CFG_SIZE_V2 121 /* Max number of registers imx can set for v2 */
+#define MAX_HW_CFG_SIZE_V2 220 /* Max number of registers imx can set 
+for v2 */
 #define MAX_HW_CFG_SIZE_V1 60  /* Max number of registers imx can set for v1 */
 #define APP_CODE_BARKER	0xB1

#define DCD_BARKER 0xB17219E9
--
1.9.1

#2 lore raw

PATCH 1/1 tools: imximage: Fix the maximum DCD size for mx53/mx6

Quoted 1 line · Nitin Garg

Acked!

Please note that patchwork won't pick that up, only a properly formatted acked-by line, thanks!

Quoted 44 lines

Regards,
Nitin Garg

-----Original Message-----
From: Fabio Estevam [mailto:fabio.estevam at freescale.com]
Sent: Monday, September 01, 2014 7:56 AM
To: sbabic at denx.de
Cc: u-boot at lists.denx.de; jonas.d.karlsson at gmail.com; Li Ye-B37916; Garg Nitin-B37173; Estevam Fabio-R49496
Subject: [PATCH] tools: imximage: Fix the maximum DCD size for mx53/mx6

According to mx53 and mx6 reference manuals:

"The maximum size of the DCD limited to 1768 bytes."

As each DCD entry consists of 8 bytes, we have a total of 1768 / 8 = 221, and excluding the first entry, which is the header leads to 220 as the maximum number for DCD size.

---
 tools/imximage.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/imximage.h +2 -2
@@ -8,7 +8,7 @@
 #ifndef _IMXIMAGE_H_
 #define _IMXIMAGE_H_
 
-#define MAX_HW_CFG_SIZE_V2 121 /* Max number of registers imx can set for v2 */
+#define MAX_HW_CFG_SIZE_V2 220 /* Max number of registers imx can set 
+for v2 */
 #define MAX_HW_CFG_SIZE_V1 60  /* Max number of registers imx can set for v1 */
 #define APP_CODE_BARKER	0xB1
 #define DCD_BARKER	0xB17219E9
--

1.9.1

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140902/fc89b0fe/attachment.pgp>
#3 lore raw

PATCH 1/1 tools: imximage: Fix the maximum DCD size for mx53/mx6

In reply to Fabio Estevam
Quoted 20 lines · Fabio Estevam

According to mx53 and mx6 reference manuals:

"The maximum size of the DCD limited to 1768 bytes."

As each DCD entry consists of 8 bytes, we have a total of 1768 / 8 = 221, and excluding the first entry, which is the header leads to 220 as the maximum number for DCD size.

---
 tools/imximage.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/imximage.h +0 -0
index 01f861e..5b5ad0e 100644

tools/imximage.h line 14

Quoted 8 lines
tools/imximage.h +1 -1
@@ -8,7 +8,7 @@
 #ifndef _IMXIMAGE_H_
 #define _IMXIMAGE_H_
 
-#define MAX_HW_CFG_SIZE_V2 121 /* Max number of registers imx can set for v2 */
+#define MAX_HW_CFG_SIZE_V2 220 /* Max number of registers imx can set for v2 */
 #define MAX_HW_CFG_SIZE_V1 60  /* Max number of registers imx can set for v1 */
 #define APP_CODE_BARKER	0xB1
 #define DCD_BARKER	0xB17219E9
#4 lore raw

PATCH 1/1 tools: imximage: Fix the maximum DCD size for mx53/mx6

In reply to Fabio Estevam
Quoted 20 lines · Fabio Estevam

According to mx53 and mx6 reference manuals:

"The maximum size of the DCD limited to 1768 bytes."

As each DCD entry consists of 8 bytes, we have a total of 1768 / 8 = 221, and excluding the first entry, which is the header leads to 220 as the maximum number for DCD size.

---
 tools/imximage.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/imximage.h +0 -0
index 01f861e..5b5ad0e 100644

tools/imximage.h line 14

Quoted 8 lines
tools/imximage.h +1 -1
@@ -8,7 +8,7 @@
 #ifndef _IMXIMAGE_H_
 #define _IMXIMAGE_H_
 
-#define MAX_HW_CFG_SIZE_V2 121 /* Max number of registers imx can set for v2 */
+#define MAX_HW_CFG_SIZE_V2 220 /* Max number of registers imx can set for v2 */
 #define MAX_HW_CFG_SIZE_V1 60  /* Max number of registers imx can set for v1 */
 #define APP_CODE_BARKER	0xB1
 #define DCD_BARKER	0xB17219E9
#5 lore raw

PATCH 1/1 tools: imximage: Fix the maximum DCD size for mx53/mx6

In reply to Fabio Estevam
Quoted 11 lines · Fabio Estevam

According to mx53 and mx6 reference manuals:

"The maximum size of the DCD limited to 1768 bytes."

As each DCD entry consists of 8 bytes, we have a total of 1768 / 8 = 221, and excluding the first entry, which is the header leads to 220 as the maximum number for DCD size.

---

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================