U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH u-boot-marvell 0/3] Turris Omnia DDR speed change with reset button (for 2024.10)
@ 2024-08-29  8:08 Marek Behún
  2024-08-29  8:08 ` [PATCH u-boot-marvell 1/3] arm: mvebu: turris_omnia: Rename variable holding EEPROM udevice Marek Behún
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Marek Behún @ 2024-08-29  8:08 UTC (permalink / raw)
  To: Stefan Roese; +Cc: u-boot, Marek Behún

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(-)

-- 
2.44.2


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-09-04  8:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-29  8:08 [PATCH u-boot-marvell 0/3] Turris Omnia DDR speed change with reset button (for 2024.10) Marek Behún
2024-08-29  8:08 ` [PATCH u-boot-marvell 1/3] arm: mvebu: turris_omnia: Rename variable holding EEPROM udevice Marek Behún
2024-09-03  6:54   ` Stefan Roese
2024-08-29  8:08 ` [PATCH u-boot-marvell 2/3] arm: mvebu: turris_omnia: Use the i2c_eeprom misc driver for EEPROM reading in U-Boot proper Marek Behún
2024-09-03  6:57   ` Stefan Roese
2024-09-03  8:04     ` Marek Behún
2024-09-03  9:30       ` Stefan Roese
2024-08-29  8:08 ` [PATCH u-boot-marvell 3/3] arm: mvebu: turris_omnia: Switch DDR speed to 1333H when reset 9 is selected Marek Behún
2024-09-03  7:06   ` Stefan Roese
2024-09-04  8:13 ` [PATCH u-boot-marvell 0/3] Turris Omnia DDR speed change with reset button (for 2024.10) Stefan Roese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox