Skip to contentSkip to conversation

powerpc: mpc512x: fix boot breakage

PATCH New Anatolij Gustschin 2 participants 14 messages Oct 21, 2014 – Oct 24, 2014 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/7 powerpc: mpc512x: fix boot breakage

Commit d6b11fd1 (powerpc: remove MBX and MBX860T boards support) removed mbxbar field in "struct sysconf512x" by mistake and broke booting on mpc5121 boards. Fix it.

---
NOTE: ALL mpc512x boards are broken in releases v2014.07 and v2014.10.

 arch/powerpc/include/asm/immap_512x.h | 1 +
 1 file changed, 1 insertion(+)
arch/powerpc/include/asm/immap_512x.h +1 -0
index 6086a73..bed80aa 100644
@@ -59,6 +59,7 @@ typedef struct sysconf512x {
 	u8 res2[0x28];
 	law512x_t ddrlaw;	/* DDR Local Access Window */
 	u8 res3[0x18];
+	u32 mbxbar;		/* MBX Base Address */
 	u32 srambar;		/* SRAM Base Address */
 	u32 nfcbar;		/* NFC Base Address */
 	u8 res4[0x34];
Signature · 1 line
1.8.3.1
#1 lore raw

PATCH 2/7 powerpc: mpc5121ads: convert to generic board

Also enable CONFIG_DISPLAY_BOARDINFO to get checkboard() called.

---
 include/configs/mpc5121ads.h | 3 +++
 1 file changed, 3 insertions(+)
include/configs/mpc5121ads.h +3 -0
index 7de245b..41ae0a5 100644
@@ -12,6 +12,9 @@
 #define __CONFIG_H
 
 #define CONFIG_MPC5121ADS 1
+#define CONFIG_DISPLAY_BOARDINFO
+#define CONFIG_SYS_GENERIC_BOARD
+
 /*
  * Memory map for the MPC5121ADS board:
  *
Signature · 1 line
1.8.3.1
#2 lore raw

PATCH 2/7 powerpc: mpc5121ads: convert to generic board

Dear Anatolij Gustschin,

Quoted 6 lines · In message <[email protected]> you wrote:

Also enable CONFIG_DISPLAY_BOARDINFO to get checkboard() called.

---
 include/configs/mpc5121ads.h | 3 +++
 1 file changed, 3 insertions(+)

Applied to u-boot-mpc5xxx, thanks.

Viele Gr??e,

Wolfgang Denk

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-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A door is what a dog is perpetually on the wrong side of.
                                                        - Ogden Nash
#3 lore raw

PATCH 3/7 powerpc: pdm360ng: convert to generic board

In reply to Anatolij Gustschin
---
 include/configs/pdm360ng.h | 2 ++
 1 file changed, 2 insertions(+)
include/configs/pdm360ng.h +2 -0
index 553eb8f..17d7bca 100644
@@ -13,6 +13,8 @@
 #define __CONFIG_H
 
 #define CONFIG_PDM360NG 1
+#define CONFIG_DISPLAY_BOARDINFO
+#define CONFIG_SYS_GENERIC_BOARD
 
 /*
  * Memory map for the PDM360NG board:
Signature · 1 line
1.8.3.1
#4 lore raw

PATCH 3/7 powerpc: pdm360ng: convert to generic board

Dear Anatolij Gustschin,

Quoted 4 lines · In message <[email protected]> you wrote:
---
 include/configs/pdm360ng.h | 2 ++
 1 file changed, 2 insertions(+)

Applied to u-boot-mpc5xxx, thanks.

Best regards,

Wolfgang Denk

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-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It's hard to think of you as the end result of millions of  years  of
evolution.
#5 lore raw

PATCH 4/7 powerpc: aria: convert to generic board

In reply to Anatolij Gustschin
---
 include/configs/aria.h | 3 +++
 1 file changed, 3 insertions(+)
include/configs/aria.h +3 -0
index c36cf33..2f9677c 100644
@@ -13,6 +13,9 @@
 #define __CONFIG_H
 
 #define CONFIG_ARIA 1
+#define CONFIG_DISPLAY_BOARDINFO
+#define CONFIG_SYS_GENERIC_BOARD
+
 /*
  * Memory map for the ARIA board:
  *
Signature · 1 line
1.8.3.1
#6 lore raw

PATCH 4/7 powerpc: aria: convert to generic board

Dear Anatolij Gustschin,

Quoted 4 lines · In message <[email protected]> you wrote:
---
 include/configs/aria.h | 3 +++
 1 file changed, 3 insertions(+)

Applied to u-boot-mpc5xxx, thanks.

Best regards,

Wolfgang Denk

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-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Philosophy is a game with objectives and no rules.
Mathematics is a game with rules and no objectives.
#7 lore raw

PATCH 5/7 powerpc: ac14xx: convert to generic board

In reply to Anatolij Gustschin
---
 include/configs/ac14xx.h | 3 +++
 1 file changed, 3 insertions(+)
include/configs/ac14xx.h +3 -0
index f57820d..54b7028 100644
@@ -13,6 +13,9 @@
 #define __CONFIG_H
 
 #define CONFIG_AC14XX 1
+#define CONFIG_DISPLAY_BOARDINFO
+#define CONFIG_SYS_GENERIC_BOARD
+
 /*
  * Memory map for the ifm AC14xx board:
  *
Signature · 1 line
1.8.3.1
#8 lore raw

PATCH 5/7 powerpc: ac14xx: convert to generic board

Dear Anatolij Gustschin,

Quoted 4 lines · In message <[email protected]> you wrote:
---
 include/configs/ac14xx.h | 3 +++
 1 file changed, 3 insertions(+)

Applied to u-boot-mpc5xxx, thanks.

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If you fail to plan, plan to fail.
#9 lore raw

PATCH 6/7 powerpc: mecp5123: convert to generic board

In reply to Anatolij Gustschin
---
 include/configs/mecp5123.h | 3 +++
 1 file changed, 3 insertions(+)
include/configs/mecp5123.h +3 -0
index 6c19817..0b9cbae 100644
@@ -15,6 +15,9 @@
 #define __CONFIG_H
 
 #define CONFIG_MECP5123 1
+#define CONFIG_DISPLAY_BOARDINFO
+#define CONFIG_SYS_GENERIC_BOARD
+
 /*
  * Memory map for the MECP5123 board:
  *
Signature · 1 line
1.8.3.1
#10 lore raw

PATCH 6/7 powerpc: mecp5123: convert to generic board

Dear Anatolij Gustschin,

Quoted 5 lines · In message <[email protected]> you wrote:
---
 include/configs/mecp5123.h | 3 +++
 1 file changed, 3 insertions(+)

Applied to u-boot-mpc5xxx, thanks.

Best regards,

Wolfgang Denk

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-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Clothes make the man. Naked people have little  or  no  influence  on
society.                                                 - Mark Twain
#11 lore raw

PATCH 7/7 powerpc: digsy_mtc: convert to generic board

In reply to Anatolij Gustschin
---
 include/configs/digsy_mtc.h | 2 ++
 1 file changed, 2 insertions(+)
include/configs/digsy_mtc.h +2 -0
index 2a8cb39..76ec168 100644
@@ -22,6 +22,8 @@
 
 #define CONFIG_MPC5200		1	/* This is an MPC5200 CPU */
 #define CONFIG_DIGSY_MTC	1	/* ... on InterControl digsyMTC board */
+#define CONFIG_DISPLAY_BOARDINFO
+#define CONFIG_SYS_GENERIC_BOARD
 
 /*
  * Valid values for CONFIG_SYS_TEXT_BASE are:
Signature · 1 line
1.8.3.1
#12 lore raw

PATCH 7/7 powerpc: digsy_mtc: convert to generic board

Dear Anatolij Gustschin,

Quoted 4 lines · In message <[email protected]> you wrote:
---
 include/configs/digsy_mtc.h | 2 ++
 1 file changed, 2 insertions(+)

Applied to u-boot-mpc5xxx, thanks.

Best regards,

Wolfgang Denk

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-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"The algorithm to do that is extremely nasty. You might want  to  mug
someone with it."                   - M. Devine, Computer Science 340
#13 lore raw

PATCH 1/7 powerpc: mpc512x: fix boot breakage

In reply to Anatolij Gustschin

Dear Anatolij Gustschin,

Quoted 8 lines · In message <[email protected]> you wrote:

Commit d6b11fd1 (powerpc: remove MBX and MBX860T boards support) removed mbxbar field in "struct sysconf512x" by mistake and broke booting on mpc5121 boards. Fix it.

---
NOTE: ALL mpc512x boards are broken in releases v2014.07 and v2014.10.

Applied to u-boot-mpc5xxx, thanks.

Best regards,

Wolfgang Denk

Signature · 7 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
How many seconds are there in a year? If I tell you there are 3.155 x
10^7, you won't even try to remember it. On the other hand, who could
forget that, to within half a percent, pi seconds is a nanocentury.
                                                - Tom Duff, Bell Labs