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>
This commit is contained in:
parent
3f7637b050
commit
2634d3f855
@ -68,6 +68,10 @@ methode,edpu)
|
|||||||
ubootenv_add_uci_config "/dev/mtd0" "0x180000" "0x10000" "0x10000"
|
ubootenv_add_uci_config "/dev/mtd0" "0x180000" "0x10000" "0x10000"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
synology,ds213j)
|
||||||
|
idx="$(find_mtd_index u-boot-env)"
|
||||||
|
[ -n "$idx" ] && ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x10000" "0x10000"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
config_load ubootenv
|
config_load ubootenv
|
||||||
|
Loading…
x
Reference in New Issue
Block a user