Skip to content

Turris Omnia - New board revision support

Marek Behún u-boot 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest18 patches 1 replyIn review
  2. v318 patches 25 repliesSuperseded
  3. v218 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches1 replySuperseded

Changes in v4 from the cover letter

- added missing files turris_common.c and turris_common.h to patch 05/18
- added comment to patch 11/18 before while (1); as discussed in v3

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18arm: mvebu: turris_omnia: Enable LTO by default on Turris Omniaconfigs/turris_omnia_defconfig+1 -00 replies
2/18arm: mvebu: turris_omnia: Add header containing MCU command interface and use itboard/CZ.NIC/turris_omnia/turris_omnia.c drivers/gpio/turris_omnia_mcu.c include/turris-omnia-mcu-interface.h+272 -1110 replies
3/18arm: mvebu: turris_{omnia, mox}: Don't print model two timesboard/CZ.NIC/turris_mox/turris_mox.c board/CZ.NIC/turris_omnia/turris_omnia.c+1 -50 replies
4/18arm: mvebu: turris_omnia: Update MCU status and features readingboard/CZ.NIC/turris_omnia/turris_omnia.c+68 -320 replies
5/18arm: mvebu: turris_omnia: Implement getting board information from MCUboard/CZ.NIC/turris_atsha_otp.c board/CZ.NIC/turris_common.c board/CZ.NIC/turris_common.h +2 more+145 -300 replies
6/18arm: mvebu: turris_omnia: Print board ECDSA public key if availableboard/CZ.NIC/turris_omnia/turris_omnia.c+24 -10 replies
7/18arm: mvebu: turris_omnia: Disable Atmel SHA node if not presentboard/CZ.NIC/turris_omnia/turris_omnia.c+23 -00 replies
8/18arm: mvebu: spl: Do not build mvebu-reset in SPLarch/arm/mach-mvebu/Makefile+2 -10 replies
9/18arm: mvebu: system-controller: Rework to use UCLASS_SYSCONarch/arm/mach-mvebu/Kconfig arch/arm/mach-mvebu/Makefile arch/arm/mach-mvebu/system-controller.c+54 -350 replies
10/18arm: mvebu: system-controller: Select mvebu-reset if DM_RESET && PCI_MVEBUarch/arm/mach-mvebu/Kconfig+1 -10 replies
11/18arm: mvebu: system-controller: Add support for SYSRESETarch/arm/mach-mvebu/Kconfig arch/arm/mach-mvebu/Makefile arch/arm/mach-mvebu/cpu.c +1 more+90 -70 replies
12/18gpio: turris_omnia_mcu: Use byteorder conversion functionsdrivers/gpio/turris_omnia_mcu.c+46 -340 replies
13/18gpio: turris_omnia_mcu: Update firmware features readingdrivers/gpio/turris_omnia_mcu.c+22 -100 replies
14/18gpio: turris_omnia_mcu: Add support for system power off via sysresetconfigs/turris_omnia_defconfig drivers/gpio/Kconfig drivers/gpio/Makefile +3 more+120 -500 replies
15/18arm: mvebu: turris_omnia: Enable poweroff command via sysreset in defconfigconfigs/turris_omnia_defconfig+2 -00 replies
16/18cmd: rng: Print "Abort" on -EINTRcmd/rng.c+4 -30 replies
17/18misc: turris_omnia_mcu: Add support for rng provided by MCUconfigs/turris_omnia_defconfig drivers/misc/Kconfig drivers/misc/turris_omnia_mcu.c+59 -00 replies
18/18arm: mvebu: turris_omnia: Enable rng command in defconfigconfigs/turris_omnia_defconfig+1 -00 replies

Reviews trailers per patch

All 18 patches have a Reviewed-by or Acked-by.

PatchStefan Roese
1/18R-b
2/18R-b
3/18R-b
4/18R-b
5/18R-b
6/18R-b
7/18R-b
8/18R-b
9/18R-b
10/18R-b
11/18R-b
12/18R-b
13/18R-b
14/18R-b
15/18R-b
16/18R-b
17/18R-b
18/18R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH u-boot-mvebu v4 00/18] Turris Omnia - New board revision support

changes since v3:
- added missing files turris_common.c and turris_common.h to patch 05/18
- added comment to patch 11/18 before while (1); as discussed in v3

v1, v2 and v3 at:
https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/
https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/
https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/

Marek Behún (18):
arm: mvebu: turris_omnia: Enable LTO by default on Turris Omnia
arm: mvebu: turris_omnia: Add header containing MCU command interface
and use it
arm: mvebu: turris_{omnia, mox}: Don't print model two times
arm: mvebu: turris_omnia: Update MCU status and features reading
arm: mvebu: turris_omnia: Implement getting board information from MCU
arm: mvebu: turris_omnia: Print board ECDSA public key if available
arm: mvebu: turris_omnia: Disable Atmel SHA node if not present
arm: mvebu: spl: Do not build mvebu-reset in SPL
arm: mvebu: system-controller: Rework to use UCLASS_SYSCON
arm: mvebu: system-controller: Select mvebu-reset if DM_RESET &&
PCI_MVEBU
arm: mvebu: system-controller: Add support for SYSRESET
gpio: turris_omnia_mcu: Use byteorder conversion functions
gpio: turris_omnia_mcu: Update firmware features reading
gpio: turris_omnia_mcu: Add support for system power off via sysreset
arm: mvebu: turris_omnia: Enable poweroff command via sysreset in
defconfig
cmd: rng: Print "Abort" on -EINTR
misc: turris_omnia_mcu: Add support for rng provided by MCU
arm: mvebu: turris_omnia: Enable rng command in defconfig

 arch/arm/mach-mvebu/Kconfig              |  25 ++
 arch/arm/mach-mvebu/Makefile             |   3 +-
 arch/arm/mach-mvebu/cpu.c                |   2 +
 arch/arm/mach-mvebu/system-controller.c  | 145 ++++++--
 board/CZ.NIC/turris_atsha_otp.c          |  27 +-
 board/CZ.NIC/turris_common.c             |  42 +++
 board/CZ.NIC/turris_common.h             |  10 +
 board/CZ.NIC/turris_mox/turris_mox.c     |   5 +-
 board/CZ.NIC/turris_omnia/Makefile       |   2 +-
 board/CZ.NIC/turris_omnia/turris_omnia.c | 310 ++++++++++++-----
 cmd/rng.c                                |   7 +-
 configs/turris_omnia_defconfig           |   6 +
 drivers/gpio/Kconfig                     |   7 -
 drivers/gpio/Makefile                    |   1 -
 drivers/gpio/turris_omnia_mcu.c          | 316 -----------------
 drivers/misc/Kconfig                     |  11 +
 drivers/misc/Makefile                    |   1 +
 drivers/misc/turris_omnia_mcu.c          | 411 +++++++++++++++++++++++
 include/turris-omnia-mcu-interface.h     | 248 ++++++++++++++
 19 files changed, 1097 insertions(+), 482 deletions(-)
 create mode 100644 board/CZ.NIC/turris_common.c
 create mode 100644 board/CZ.NIC/turris_common.h
 delete mode 100644 drivers/gpio/turris_omnia_mcu.c
 create mode 100644 drivers/misc/turris_omnia_mcu.c
 create mode 100644 include/turris-omnia-mcu-interface.h
Signature · 1 line
2.43.2