Skip to contentSkip to conversation

pcm memory fix

PATCH In review Tim Sander 3 participants 4 messages Aug 23, 2011 – Aug 24, 2011

Subsystems (2)
lore
Share & tools
lore

Tim Sander

author
#0 lore raw

PATCH 1/1 pcm memory fix

This patch is inspired by ram_timing.patch from OSELAS.BSP-Phytec-phyCORE-i.MX35-PD10.1.2. PCM043 1315.6 does not boot without it.

change refresh cycle

arch/arm/boards/pcm043/lowlevel.c +1 -1
index eff96f9..bbe586b 100644
@@ -146,7 +146,7 @@ void __bare_init __naked board_init_lowlevel(void)
        writel(0x00000304, ESDMISC); /* was 0x00000004 */
 
        /* set timing paramters */
-       writel(0x00255417, ESDCFG0);
+       writel(0x0025541F, ESDCFG0);
        /* select Precharge-All mode */
        writel(0x92220000, ESDCTL0);
        /* Precharge-All */

Hottinger Baldwin Messtechnik GmbH, Im Tiefen See 45, 64293 Darmstadt, Germany | www.hbm.com

Registered as GmbH (German limited liability corporation) in the commercial register at the local court of Darmstadt, HRB 1147 Company domiciled in Darmstadt | CEO: Andreas Huellhorst | Chairman of the board: James Charles Webster

Als Gesellschaft mit beschraenkter Haftung eingetragen im Handelsregister des Amtsgerichts Darmstadt unter HRB 1147 Sitz der Gesellschaft: Darmstadt | Geschaeftsfuehrung: Andreas Huellhorst | Aufsichtsratsvorsitzender: James Charles Webster

The information in this email is confidential. It is intended solely for the addressee. If you are not the intended recipient, please let me know and delete this email.

Die in dieser E-Mail enthaltene Information ist vertraulich und lediglich fur den Empfaenger bestimmt. Sollten Sie nicht der eigentliche Empfaenger sein, informieren Sie mich bitte kurz und loeschen diese E-Mail.

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#1 lore raw
Quoted 6 lines · Tim Sander

This patch is inspired by ram_timing.patch from OSELAS.BSP-Phytec-phyCORE-i.MX35-PD10.1.2. PCM043 1315.6 does not boot without it.

change refresh cycle

This is a duplicate of the patch Teresa recently sent. I just applied Teresas version.

Sascha

Quoted 33 lines
arch/arm/boards/pcm043/lowlevel.c +1 -1
index eff96f9..bbe586b 100644
@@ -146,7 +146,7 @@ void __bare_init __naked board_init_lowlevel(void)
        writel(0x00000304, ESDMISC); /* was 0x00000004 */
 
        /* set timing paramters */
-       writel(0x00255417, ESDCFG0);
+       writel(0x0025541F, ESDCFG0);
        /* select Precharge-All mode */
        writel(0x92220000, ESDCTL0);
        /* Precharge-All */

Hottinger Baldwin Messtechnik GmbH, Im Tiefen See 45, 64293 Darmstadt, Germany | www.hbm.com

Registered as GmbH (German limited liability corporation) in the commercial register at the local court of Darmstadt, HRB 1147 Company domiciled in Darmstadt | CEO: Andreas Huellhorst | Chairman of the board: James Charles Webster

Als Gesellschaft mit beschraenkter Haftung eingetragen im Handelsregister des Amtsgerichts Darmstadt unter HRB 1147 Sitz der Gesellschaft: Darmstadt | Geschaeftsfuehrung: Andreas Huellhorst | Aufsichtsratsvorsitzender: James Charles Webster

The information in this email is confidential. It is intended solely for the addressee. If you are not the intended recipient, please let me know and delete this email.

Die in dieser E-Mail enthaltene Information ist vertraulich und lediglich fur den Empfaenger bestimmt. Sollten Sie nicht der eigentliche Empfaenger sein, informieren Sie mich bitte kurz und loeschen diese E-Mail.

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw

Am Dienstag, den 23.08.2011, 15:06 +0200 schrieb Sascha Hauer:

Quoted 10 lines · Tim Sander
Quoted 6 lines

This patch is inspired by ram_timing.patch from OSELAS.BSP-Phytec-phyCORE-i.MX35-PD10.1.2. PCM043 1315.6 does not boot without it.

change refresh cycle

This is a duplicate of the patch Teresa recently sent. I just applied Teresas version.

Are there any reasons why you applied the first version of the patch and not the second one with an updated description?

Teresa

Quoted 28 lines

Sascha

Quoted 25 lines
arch/arm/boards/pcm043/lowlevel.c +1 -1
index eff96f9..bbe586b 100644
@@ -146,7 +146,7 @@ void __bare_init __naked board_init_lowlevel(void)
        writel(0x00000304, ESDMISC); /* was 0x00000004 */
 
        /* set timing paramters */
-       writel(0x00255417, ESDCFG0);
+       writel(0x0025541F, ESDCFG0);
        /* select Precharge-All mode */
        writel(0x92220000, ESDCTL0);
        /* Precharge-All */

Hottinger Baldwin Messtechnik GmbH, Im Tiefen See 45, 64293 Darmstadt, Germany | www.hbm.com

Registered as GmbH (German limited liability corporation) in the commercial register at the local court of Darmstadt, HRB 1147 Company domiciled in Darmstadt | CEO: Andreas Huellhorst | Chairman of the board: James Charles Webster

Als Gesellschaft mit beschraenkter Haftung eingetragen im Handelsregister des Amtsgerichts Darmstadt unter HRB 1147 Sitz der Gesellschaft: Darmstadt | Geschaeftsfuehrung: Andreas Huellhorst | Aufsichtsratsvorsitzender: James Charles Webster

The information in this email is confidential. It is intended solely for the addressee. If you are not the intended recipient, please let me know and delete this email.

Quoted 9 lines
Quoted 8 lines

Die in dieser E-Mail enthaltene Information ist vertraulich und lediglich fur den Empfaenger bestimmt. Sollten Sie nicht der eigentliche Empfaenger sein, informieren Sie mich bitte kurz und loeschen diese E-Mail.

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#3 lore raw
Quoted 7 lines · Teresa Gamez

Am Dienstag, den 23.08.2011, 15:06 +0200 schrieb Sascha Hauer:

Quoted 6 lines · Tim Sander
Quoted 5 lines

This patch is inspired by ram_timing.patch from OSELAS.BSP-Phytec-phyCORE-i.MX35-PD10.1.2. PCM043 1315.6 does not boot without it.

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

change refresh cycle

This is a duplicate of the patch Teresa recently sent. I just applied Teresas version.

Are there any reasons why you applied the first version of the patch and not the second one with an updated description?

Damn, stupid me :(

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox