diff options
author | Markus Stockhausen <markus.stockhausen@gmx.de> | 2022-07-08 17:27:22 +0200 |
---|---|---|
committer | Sander Vanheule <sander@svanheule.net> | 2022-07-26 09:15:38 +0200 |
commit | b2681e584c0674788fc1f11dd9950cb769d961e9 (patch) | |
tree | f78b33f973c6d59677bf8927e374bcd34c7f3bc1 /target/linux/realtek/files-5.10 | |
parent | a8e1e30543239e85ff5dc220368164b66cf73fba (diff) | |
download | upstream-b2681e584c0674788fc1f11dd9950cb769d961e9.tar.gz upstream-b2681e584c0674788fc1f11dd9950cb769d961e9.tar.bz2 upstream-b2681e584c0674788fc1f11dd9950cb769d961e9.zip |
realtek: make DGS-1210 u-boot-env partition writeable
We are close to provide enduser friendly OpenWrt images for DGS-1210
switches that do not need serial console. Nevertheless a small bit is
missing. We cannot switch back to the vendor partition or initiate a
download of a vendor firmware image. To issue this from inside OpenWrt
we need write access to U-Boot environment.
Case 1: Switch back to secondary (vendor) image
> fw_setenv bootcmd run addargs\; bootm 0xb4e80000
> fw_setenv image /dev/mtdblock7
> reboot
Case 2: Issue D-Link Network Assistant based download on next reboot.
This is a combination of some vendor specific protocol (DDP) and a
TFTP download afterwards.
> fw_setenv bootstop on
> reboot
Allow these commands by opening up u-boot-env for write access.
Tested on DGS-1210-20.
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Diffstat (limited to 'target/linux/realtek/files-5.10')
0 files changed, 0 insertions, 0 deletions