Skip to content

Turris Omnia DDR speed change with reset button (for 2024.10)

Marek Behún u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3arm: mvebu: turris_omnia: Rename variable holding EEPROM udeviceboard/CZ.NIC/turris_omnia/turris_omnia.c+5 -51 reply
2/3arm: mvebu: turris_omnia: Use the i2c_eeprom misc driver for EEPROM reading in U-Boot properarch/arm/mach-mvebu/Kconfig board/CZ.NIC/turris_omnia/turris_omnia.c configs/turris_omnia_defconfig+8 -33 replies
3/3arm: mvebu: turris_omnia: Switch DDR speed to 1333H when reset 9 is selectedboard/CZ.NIC/turris_omnia/turris_omnia.c+77 -131 reply

Reviews trailers per patch

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

PatchStefan Roese
1/3R-b
2/3R-b
3/3R-b

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

Read the v1 thread

Cover letter [PATCH u-boot-marvell 0/3] Turris Omnia DDR speed change with reset button (for 2024.10)

Hello Stefan,

this series adds the ability to select 1333H DDR speed mode for DDR training (instead of the default 1600K) with the factory reset button.

If possible, I would like if this series went for U-Boot 2024.10 release. The heavy stuff to support DDR speed change is already in, this just adds the ability to do it with reset button instead of console command (which is inconvenient for most users).

On Omnia, the user can select factory reset type by pressing the reset button on the rear panel and holding it. The front LEDs light on in sequence, representing a counter. Every ~2.5 second another LED lights on. When only the first LED is on, the board will do a standard reboot. Then different kinds of factory reboot will happen for reset types 1 to 7 (when 1, 2, ... or 7 LEDs are on) [1].

This series adds another reset type, number 10, which will make the board boot in 1333H DDR speed mode, and also write this setting to EEPROM, so that subsequent boots will also train in 1333H mode.

The user can set back the default mode with the eeprom U-Boot command, or with the omnia-eeprom Linux command.

Marek

[1] https://docs.turris.cz/hw/omnia/rescue-modes/

Marek Behún (3):
arm: mvebu: turris_omnia: Rename variable holding EEPROM udevice
arm: mvebu: turris_omnia: Use the i2c_eeprom misc driver for EEPROM
reading in U-Boot proper
arm: mvebu: turris_omnia: Switch DDR speed to 1333H when reset 9 is
selected

 arch/arm/mach-mvebu/Kconfig              |   1 +
 board/CZ.NIC/turris_omnia/turris_omnia.c | 101 +++++++++++++++++++----
 configs/turris_omnia_defconfig           |   1 -
 3 files changed, 86 insertions(+), 17 deletions(-)
Signature · 1 line
2.44.2