utils: Add the omnia-eeprom utility
authorMarek Behún <kabel@kernel.org>
Fri, 15 Nov 2024 09:01:35 +0000 (10:01 +0100)
committerPetr Štetiar <ynezz@true.cz>
Thu, 28 Nov 2024 18:47:15 +0000 (18:47 +0000)
commit77af73050cd53d022a5a4a503f38ffa226a48384
tree6d3f2cb384651669e3a2c1bf6c3e2d9926a45f1f
parentf2a40e11176f74adba1228880725af7a95ebfaf0
utils: Add the omnia-eeprom utility

Add a new utility, `omnia-eeprom`, which can be used to print / set
EEPROM fields on Turris Omnia.

One example when this utility might be useful is if the board
experiences random crashes due to newer versions of the DDR training
algorithm in newer U-Boot. The user can change the DDR speed from 1600K
to 1333H to solve these issues, with

  ```
  omnia-eeprom set ddr_speed 1333H
  ```

Signed-off-by: Marek Behún <kabel@kernel.org>
Link: https://github.com/openwrt/openwrt/pull/16264
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 749a43325b98afe4430fa7e2f23ac3ee44791ad6)
Link: https://github.com/openwrt/openwrt/pull/17097
Signed-off-by: Petr Štetiar <ynezz@true.cz>
package/utils/omnia-eeprom/Makefile [new file with mode: 0644]
target/linux/mvebu/image/cortexa9.mk