diff options
author | Daniel Golle <daniel@makrotopia.org> | 2023-11-19 22:04:02 +0000 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2023-11-20 13:40:17 +0000 |
commit | 2634d3f855ee3ca97a311512c0717cf84a8e274a (patch) | |
tree | acae218515f3244411b156374f3a4536ee400b95 /package/boot/uboot-envtools/files | |
parent | 3f7637b05047badc15a58b1581c071892bc6e340 (diff) |
uboot-envtools: add settings for Synology DS213j
Add settings to be able to access the U-Boot environment on the
Synology DS213j NAS.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/boot/uboot-envtools/files')
-rw-r--r-- | package/boot/uboot-envtools/files/mvebu | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/boot/uboot-envtools/files/mvebu b/package/boot/uboot-envtools/files/mvebu index 63b5132608..c4ce76cf24 100644 --- a/package/boot/uboot-envtools/files/mvebu +++ b/package/boot/uboot-envtools/files/mvebu @@ -68,6 +68,10 @@ methode,edpu) ubootenv_add_uci_config "/dev/mtd0" "0x180000" "0x10000" "0x10000" fi ;; +synology,ds213j) + idx="$(find_mtd_index u-boot-env)" + [ -n "$idx" ] && ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x10000" "0x10000" + ;; esac config_load ubootenv |