Skip to contentSkip to conversation

mpc83xx: add support for the ids8313 board

PATCH New Heiko Schocher 3 participants 7 messages Jan 25, 2014 – Apr 25, 2014 PowerPC

lore
Share & tools
lore
#0 lore raw

cover mpc83xx: add support for the ids8313 board

add support for the ids8313 board.

CPU:   e300c3, MPC8313, Rev: 2.1 at 396 MHz, CSB: 132 MHz
I2C:   ready
SPI:   ready
DRAM:  128 MiB (DDR2, 32-bit, ECC off, 264 MHz)
Flash: 8 MiB
NAND:  128 MiB
Net:   TSEC0, TSEC1 [PRIME]

This board uses signed fit images, signed with sha256,rsa4096 algorithm.

Following patches are needed for this board support:

[U-Boot] common, ubi: add ubi check volumename command
http://patchwork.ozlabs.org/patch/314116/

[U-Boot] common, itest: pass u-boot env variables to itest.s
http://patchwork.ozlabs.org/patch/314118/

[U-Boot] i2c, bootcount: add support for bootcounter on i2c devices
http://patchwork.ozlabs.org/patch/314117/

Patchserie FIT Images Enhancements

[U-Boot,1/7] tools/image-host: fix sign-images bug
http://patchwork.ozlabs.org/patch/314125/

[U-Boot,2/7] fdt: add "fdt sign" command
http://patchwork.ozlabs.org/patch/314120/

[U-Boot,3/7] fit: add sha256 support
http://patchwork.ozlabs.org/patch/314126/

[U-Boot,4/7] rsa: add sha256-rsa2048 algorithm
http://patchwork.ozlabs.org/patch/314124/

[U-Boot,5/7] rsa: add sha256,rsa4096 algorithm
http://patchwork.ozlabs.org/patch/314121/

[U-Boot,6/7] tools, fit: add fit_info host command
http://patchwork.ozlabs.org/patch/314122/

[U-Boot,7/7] tools, fit_check_sign: verify a signed fit image
http://patchwork.ozlabs.org/patch/314123/

Heiko Schocher (3):
powerpc, ids8247: create vendor board dir ids
mpc8313, bootcount: mpc8313 has no qe muram
mpc83xx: add ids8313 support

 arch/powerpc/cpu/mpc83xx/cpu.c    |   2 +-
 arch/powerpc/cpu/mpc83xx/fdt.c    |   5 +-
 board/{ => ids}/ids8247/Makefile  |   0
 board/{ => ids}/ids8247/ids8247.c |   0
 board/ids/ids8313/Makefile        |  11 +
 board/ids/ids8313/ids8313.c       | 208 ++++++++++++++
 boards.cfg                        |   3 +-
 include/configs/ids8313.h         | 587 ++++++++++++++++++++++++++++++++++++++
 8 files changed, 812 insertions(+), 4 deletions(-)
 rename board/{ => ids}/ids8247/Makefile (100%)
 rename board/{ => ids}/ids8247/ids8247.c (100%)
 create mode 100644 board/ids/ids8313/Makefile
 create mode 100644 board/ids/ids8313/ids8313.c
 create mode 100644 include/configs/ids8313.h
Cc Wolfgang Denk <[email protected]>
Cc Kim Phillips <[email protected]>
Signature · 1 line
1.8.3.1
#1 lore raw

PATCH 1/3 powerpc, ids8247: create vendor board dir ids

create vendor board directory ids and move ids8247 board to it.

Cc Wolfgang Denk <[email protected]>
Cc Kim Phillips <[email protected]>
---
 board/{ => ids}/ids8247/Makefile  | 0
 board/{ => ids}/ids8247/ids8247.c | 0
 boards.cfg                        | 2 +-
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename board/{ => ids}/ids8247/Makefile (100%)
 rename board/{ => ids}/ids8247/ids8247.c (100%)
board/ids/ids8247/Makefile renamed from board/ids8247/Makefile +0 -0
similarity index 100%
rename from board/ids8247/Makefile
rename to board/ids/ids8247/Makefile
board/ids/ids8247/ids8247.c renamed from board/ids8247/ids8247.c +0 -0
similarity index 100%
rename from board/ids8247/ids8247.c
rename to board/ids/ids8247/ids8247.c
boards.cfg +1 -1
index a8336cc..bc2d764 100644
@@ -664,7 +664,7 @@ Active  powerpc     mpc8260        -           -               cpu87
 Active  powerpc     mpc8260        -           -               cpu87               CPU87_ROMBOOT                        CPU87:BOOT_ROM                                                                                                                    -
 Active  powerpc     mpc8260        -           -               ep8248              ep8248                               -                                                                                                                                 Yuli Barcohen <[email protected]>
 Active  powerpc     mpc8260        -           -               ep8248              ep8248E                              ep8248                                                                                                                            Yuli Barcohen <[email protected]>
-Active  powerpc     mpc8260        -           -               ids8247             IDS8247                              -                                                                                                                                 Heiko Schocher <[email protected]>
+Active  powerpc     mpc8260        -           ids             ids8247             IDS8247                              -                                                                                                                                 Heiko Schocher <[email protected]>
 Active  powerpc     mpc8260        -           -               iphase4539          IPHASE4539                           -                                                                                                                                 Wolfgang Grandegger <[email protected]>
 Active  powerpc     mpc8260        -           -               ispan               ISPAN                                -                                                                                                                                 Yuli Barcohen <[email protected]>
 Active  powerpc     mpc8260        -           -               ispan               ISPAN_REVB                           ISPAN:SYS_REV_B                                                                                                                   Yuli Barcohen <[email protected]>
Signature · 1 line
1.8.3.1
#2 lore raw

PATCH 2/3 mpc8313, bootcount: mpc8313 has no qe muram

In reply to Heiko Schocher

mpc831x has no muram, so muram cannot be used for bootcounter function.

---
 arch/powerpc/cpu/mpc83xx/cpu.c | 2 +-
 arch/powerpc/cpu/mpc83xx/fdt.c | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)
arch/powerpc/cpu/mpc83xx/cpu.c +1 -1
index e275fce..e41988d 100644
@@ -19,7 +19,7 @@
 #include <tsec.h>
 #include <netdev.h>
 #include <fsl_esdhc.h>
-#ifdef CONFIG_BOOTCOUNT_LIMIT
+#if defined(CONFIG_BOOTCOUNT_LIMIT) && !defined(CONFIG_MPC831x)
 #include <asm/immap_qe.h>
 #include <asm/io.h>
 #endif
arch/powerpc/cpu/mpc83xx/fdt.c +3 -2
index cce7d6b..450a970 100644
@@ -17,7 +17,7 @@ extern void ft_qe_setup(void *blob);
 DECLARE_GLOBAL_DATA_PTR;
 
 #if defined(CONFIG_BOOTCOUNT_LIMIT) && \
-	(defined(CONFIG_QE))
+	(defined(CONFIG_QE) && !defined(CONFIG_MPC831x))
 #include <asm/immap_qe.h>
 
 void fdt_fixup_muram (void *blob)
@@ -124,7 +124,8 @@ void ft_cpu_setup(void *blob, bd_t *bd)
 
 	fdt_fixup_memory(blob, (u64)bd->bi_memstart, (u64)bd->bi_memsize);
 
-#if defined(CONFIG_BOOTCOUNT_LIMIT)
+#if defined(CONFIG_BOOTCOUNT_LIMIT) && \
+	(defined(CONFIG_QE) && !defined(CONFIG_MPC831x))
 	fdt_fixup_muram (blob);
 #endif
 }
Signature · 1 line
1.8.3.1
#3 lore raw

PATCH 3/3 mpc83xx: add ids8313 support

In reply to Heiko Schocher

add support for the ids8313 board.

CPU:   e300c3, MPC8313, Rev: 2.1 at 396 MHz, CSB: 132 MHz
I2C:   ready
SPI:   ready
DRAM:  128 MiB (DDR2, 32-bit, ECC off, 264 MHz)
Flash: 8 MiB
NAND:  128 MiB
Net:   TSEC0, TSEC1 [PRIME]

public key on NOR flash start

---
 board/ids/ids8313/Makefile  |  11 +
 board/ids/ids8313/ids8313.c | 208 ++++++++++++++++
 boards.cfg                  |   1 +
 include/configs/ids8313.h   | 587 ++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 807 insertions(+)
 create mode 100644 board/ids/ids8313/Makefile
 create mode 100644 board/ids/ids8313/ids8313.c
 create mode 100644 include/configs/ids8313.h
board/ids/ids8313/Makefile new file +11 -0
new file mode 100644
index 0000000..56cfd40
@@ -0,0 +1,11 @@
+#
+# (C) Copyright 2006
+# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
+#
+# (C) Copyright 2013
+# Heiko Schocher, DENX Software Engineering, <[email protected]>
+#
+# SPDX-License-Identifier:	GPL-2.0+
+#
+
+obj-y	= ids8313.o
board/ids/ids8313/ids8313.c new file +208 -0

208 lines not on this page · raw message

boards.cfg +1 -0
index bc2d764..4e40411 100644
@@ -757,6 +757,7 @@ Active  powerpc     mpc83xx        -           freescale       mpc8360erdk
 Active  powerpc     mpc83xx        -           freescale       mpc837xemds         MPC837XEMDS                          MPC837XEMDS                                                                                                                       Dave Liu <[email protected]>
 Active  powerpc     mpc83xx        -           freescale       mpc837xemds         MPC837XEMDS_HOST                     MPC837XEMDS:PCI                                                                                                                   Dave Liu <[email protected]>
 Active  powerpc     mpc83xx        -           freescale       mpc837xerdb         MPC837XERDB                          -                                                                                                                                 Joe D'Abbraccio <[email protected]>
+Active  powerpc     mpc83xx        -           ids             ids8313             ids8313                              ids8313:SYS_TEXT_BASE=0xFFF00000                                                                                                  Heiko Schocher <[email protected]>
 Active  powerpc     mpc83xx        -           keymile         km83xx              kmcoge5ne                            km8360:KMCOGE5NE                                                                                                                  Holger Brunck <[email protected]>
 Active  powerpc     mpc83xx        -           keymile         km83xx              kmeter1                              km8360:KMETER1                                                                                                                    Holger Brunck <[email protected]>
 Active  powerpc     mpc83xx        -           keymile         km83xx              kmopti2                              tuxx1:KMOPTI2                                                                                                                     Holger Brunck <[email protected]>
include/configs/ids8313.h new file +587 -0

587 lines not on this page · raw message

Signature · 1 line
1.8.3.1
#4 lore raw

cover mpc83xx: add support for the ids8313 board

In reply to Heiko Schocher

Hello all,

Am 25.01.2014 07:53, schrieb Heiko Schocher:

Quoted 10 lines

add support for the ids8313 board.

CPU:   e300c3, MPC8313, Rev: 2.1 at 396 MHz, CSB: 132 MHz
I2C:   ready
SPI:   ready
DRAM:  128 MiB (DDR2, 32-bit, ECC off, 264 MHz)
Flash: 8 MiB
NAND:  128 MiB
Net:   TSEC0, TSEC1 [PRIME]
Quoted 2 lines

This board uses signed fit images, signed with sha256,rsa4096 algorithm.

ping?

This patchserie is pending now for more then 2 months ... Kim?

Quoted 1 line

Following patches are needed for this board support:

all needed patches are in mainline or mainline/next now ...

[...]

bye,
Heiko

Signature · 2 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
#5 lore raw

[U-Boot] [GIT PULL] u-boot-mpc83xx: add support for the ids8313 board

Hi Tom,

Please pull support for the ids8313 board:

The following changes since commit adcdeacc3eda1e5949e54062aa99c299e12483be:

Merge branch 'master' of git://git.denx.de/u-boot-mips (2014-04-23 11:07:11 -0400)

are available in the git repository at:

git://git.denx.de/u-boot-mpc83xx.git master

for you to fetch changes up to eaf8c986d36e9fadd244093b17a7fe090b0b572a:

mpc83xx: add ids8313 support (2014-04-23 19:07:54 -0500)

----------------------------------------------------------------
Heiko Schocher (3):
powerpc, ids8247: create vendor board dir ids mpc8313, bootcount: mpc8313 has no qe muram
mpc83xx: add ids8313 support

 arch/powerpc/cpu/mpc83xx/cpu.c    |   2 +-
 arch/powerpc/cpu/mpc83xx/fdt.c    |   5 +-
 board/{ => ids}/ids8247/Makefile  |   0
 board/{ => ids}/ids8247/ids8247.c |   0
 board/ids/ids8313/Makefile        |  11 +
 board/ids/ids8313/ids8313.c       | 208 ++++++++++++++
 boards.cfg                        |   4 +-
 include/configs/ids8313.h         | 587 ++++++++++++++++++++++++++++++++++++++
 8 files changed, 813 insertions(+), 4 deletions(-)
 rename board/{ => ids}/ids8247/Makefile (100%)
 rename board/{ => ids}/ids8247/ids8247.c (100%)
 create mode 100644 board/ids/ids8313/Makefile
 create mode 100644 board/ids/ids8313/ids8313.c
 create mode 100644 include/configs/ids8313.h

Sorry for the delay, Heiko.

Thanks,

Kim

#6 lore raw

[U-Boot] [GIT PULL] u-boot-mpc83xx: add support for the ids8313 board

Quoted 23 lines · Kim Phillips

Hi Tom,

Please pull support for the ids8313 board:

The following changes since commit adcdeacc3eda1e5949e54062aa99c299e12483be:

Merge branch 'master' of git://git.denx.de/u-boot-mips (2014-04-23 11:07:11 -0400)

are available in the git repository at:

git://git.denx.de/u-boot-mpc83xx.git master

for you to fetch changes up to eaf8c986d36e9fadd244093b17a7fe090b0b572a:

mpc83xx: add ids8313 support (2014-04-23 19:07:54 -0500)

----------------------------------------------------------------
Heiko Schocher (3):
powerpc, ids8247: create vendor board dir ids mpc8313, bootcount: mpc8313 has no qe muram
mpc83xx: add ids8313 support

Quoted 14 lines
 arch/powerpc/cpu/mpc83xx/cpu.c    |   2 +-
 arch/powerpc/cpu/mpc83xx/fdt.c    |   5 +-
 board/{ => ids}/ids8247/Makefile  |   0
 board/{ => ids}/ids8247/ids8247.c |   0
 board/ids/ids8313/Makefile        |  11 +
 board/ids/ids8313/ids8313.c       | 208 ++++++++++++++
 boards.cfg                        |   4 +-
 include/configs/ids8313.h         | 587 ++++++++++++++++++++++++++++++++++++++
 8 files changed, 813 insertions(+), 4 deletions(-)
 rename board/{ => ids}/ids8247/Makefile (100%)
 rename board/{ => ids}/ids8247/ids8247.c (100%)
 create mode 100644 board/ids/ids8313/Makefile
 create mode 100644 board/ids/ids8313/ids8313.c
 create mode 100644 include/configs/ids8313.h

Applied to u-boot/master, thanks!

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/20140425/ecddb326/attachment.pgp>