Skip to content

powerpc: mpc85xx: fixes and updates for socrates board

Heiko Schocher u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12powerpc/mpc85xx: fixes and updates for socrates boardconfigs/socrates_defconfig+11 -121 reply
2/12powerpc/mpc85xx: socrates: rework build processMakefile arch/powerpc/dts/socrates-u-boot.dtsi arch/powerpc/dts/u-boot.dtsi+10 -71 reply
3/12powerpc/mpc85xx: drop socrates specific image creationarch/powerpc/dts/socrates-u-boot.dtsi board/socrates/socrates.c configs/socrates_defconfig+7 -331 reply
4/12powerpc: dts: updates socrates boardarch/powerpc/dts/socrates.dts+32 -271 reply
5/12powerpc/mpc85xx: socrates: add MTD partitioning supportconfigs/socrates_defconfig include/configs/socrates.h+16 -61 reply
6/12powerpc/mpc85xx: socrates: add initrd_high default environment variableinclude/configs/socrates.h+1 -01 reply
7/12powerpc/mpc85xx: socrates: drop second flash bankconfigs/socrates_defconfig include/configs/socrates.h+2 -71 reply
8/12powerpc/mpc85xx: socrates: Add boot retry featureconfigs/socrates_defconfig+3 -01 reply
9/12powerpc/mpc85xx: socrates: add support for i2c eeprom at 0x51arch/powerpc/dts/socrates-u-boot.dtsi configs/socrates_defconfig+14 -01 reply
10/12powerpc/mpc85xx: socrates: add autoboot delay stringconfigs/socrates_defconfig+5 -01 reply
11/12powerpc/mpc85xx: socrates: enable protected Environmentboard/socrates/socrates.c configs/socrates_defconfig include/configs/socrates.h+23 -01 reply
12/12powerpc/mpc85xx: socrates: enable signed fitImagesconfigs/socrates_defconfig+2 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 00/12] powerpc: mpc85xx: fixes and updates for socrates board

Patchseries is based on 53c47c59e6: ("Merge tag 'dm-pull-18jan23' of https://source.denx.de/u-boot/custodians/u-boot-dm")

It brings back socrates board working with current mainline, and adds also some small updates:

- newer U-Boot needs more space in Flash, so set new textbase. adapt default environment
- remove Flash on CS1 as not used anymore
- support MTDPARTS
- add boot retry feature
- add support for i2c eeprom
- add autbootdelay string
- enable protected environement
- enable signed fit images boot
see thread:
https://lists.denx.de/pipermail/u-boot/2023-January/504249.html

commit bcc85b96b5ff: ("cmd: source: Support specifying config name")

fixes this problem for me!

patch 0002-powerpc-mpc85xx-socrates-rework-socrates-build-proce.patch is a combination of patches from Pali
http://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
http://patchwork.ozlabs.org/project/uboot/patch/[email protected]/

which is a base for patch 0003-powerpc-mpc85xx-drop-socrates-specific-image-creatio.patch which drops socrates board specific image creation and uses standard mpc85xx way by enabling MPC85XX_HAVE_RESET_VECTOR, drop CONFIG_OF_BOARD and use common u-boot.dtsi, so no specials anymore for this board.

azure build:
https://dev.azure.com/hs0298/hs/_build/results?buildId=99&view=results

Heiko Schocher (12):
powerpc/mpc85xx: fixes and updates for socrates board powerpc/mpc85xx: socrates: rework build process powerpc/mpc85xx: drop socrates specific image creation
powerpc: dts: updates socrates board powerpc/mpc85xx: socrates: add MTD partitioning support powerpc/mpc85xx: socrates: add initrd_high default environment
variable
powerpc/mpc85xx: socrates: drop second flash bank powerpc/mpc85xx: socrates: Add boot retry feature powerpc/mpc85xx: socrates: add support for i2c eeprom at 0x51 powerpc/mpc85xx: socrates: add autoboot delay string powerpc/mpc85xx: socrates: enable protected Environment powerpc/mpc85xx: socrates: enable signed fitImages

 Makefile                              | 11 +++--
 arch/powerpc/dts/socrates-u-boot.dtsi | 23 ++++++-----
 arch/powerpc/dts/socrates.dts         | 59 +++++++++++++++------------
 arch/powerpc/dts/u-boot.dtsi          |  2 +-
 board/socrates/socrates.c             | 32 +++++++--------
 configs/socrates_defconfig            | 50 +++++++++++++++--------
 include/configs/socrates.h            | 25 ++++++++----
 7 files changed, 118 insertions(+), 84 deletions(-)
Signature · 1 line
2.37.3