aboutsummaryrefslogtreecommitdiff
path: root/package/utils/omnia-eeprom/Makefile
Commit message (Collapse)AuthorAge
* omnia-eeprom: simplify MakefileJosef Schlehofer2025-06-22
| | | | | | | | | | 1. No need to explicitly call the defaults 2. There is efficient way how to set PKG_BUILD_DIR, which allows to drop PKG_SOURCE_DIR. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com> Link: https://github.com/openwrt/openwrt/pull/19105 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* omnia-eeprom: depend only on subtargetRobert Marko2024-11-18
| | | | | | | | | | | | | | | | | | | Now that omnia-eeprom is marked nonshared building the cortex-a9 mvebu subtarget will fail with: ERROR: unable to select packages: omnia-eeprom (no such package): required by: world[omnia-eeprom] This is because omnia-eeprom depends on TARGET_mvebu_cortexa9_DEVICE_cznic_turris-omnia which will not be satisfied in buildbots since CONFIG_TARGET_ALL_PROFILES and CONFIG_TARGET_PER_DEVICE_ROOTFS are set in which case CONFIG_TARGET_mvebu_cortexa9_DEVICE_cznic_turris-omnia is not set. So, lets simply depend on the mvebu/cortex-a9 subtarget. Fixes: 371e7bef4046 ("omnia-eeprom: Mark it nonshared") Link: https://github.com/openwrt/openwrt/pull/17007 Signed-off-by: Robert Marko <robimarko@gmail.com>
* omnia-eeprom: Mark it nonsharedHauke Mehrtens2024-11-17
| | | | | | | | | | | This tool was build in the phase 2 build, there the TARGET_mvebu_cortexa9_DEVICE_cznic_turris-omnia dependecy was probably not meat. Mark it as non shared to build it together with the target where this option is set. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Link: https://github.com/openwrt/openwrt/pull/16975 Signed-off-by: Robert Marko <robimarko@gmail.com>
* utils: Add the omnia-eeprom utilityMarek BehĂșn2024-11-15
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>