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

Stefan Roese sr at denx.de
Wed Sep 4 10:13:29 CEST 2024


On 8/29/24 10:08, Marek Behún wrote:
> 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.

Applied to u-boot-marvell/master

Thanks,
Stefan

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

Viele Grüße,
Stefan Roese

-- 
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de


More information about the U-Boot mailing list