aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/base-files/lib
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2023-06-19 08:36:16 +0200
committerRafał Miłecki <rafal@milecki.pl>2023-08-28 08:13:39 +0200
commitef76b6ff3e8f93a719d9c88fb2ae1ee6d641b42e (patch)
tree383a7b68d4c93ac2a7d46d53391425b84833f0bf /target/linux/bcm53xx/base-files/lib
parent1611c21ac60287c8c1b533118482d698c6495fbc (diff)
downloadupstream-ef76b6ff3e8f93a719d9c88fb2ae1ee6d641b42e.tar.gz
upstream-ef76b6ff3e8f93a719d9c88fb2ae1ee6d641b42e.tar.bz2
upstream-ef76b6ff3e8f93a719d9c88fb2ae1ee6d641b42e.zip
bcm53xx: Add support for D-Link DIR-890L
The DIR-890L is very similar to DIR-885L, but has both USB2 and USB3. The signature for the wrgac36 board was copied from DD-Wrt. The DIR-890L bootstrap will only load the first 2 MB after the SEAMA header in the NAND flash, uncompress it with LZMA and execute it. Since the compressed kernel will not fit in 2 MB we have a problem. Solve this by putting a LZMA compressed U-Boot into the first 128 KB of the flash followed by the kernel. The bootstrap will then uncompress and execute U-Boot and then we let U-Boot read the kernel from flash and execute it. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'target/linux/bcm53xx/base-files/lib')
-rw-r--r--target/linux/bcm53xx/base-files/lib/upgrade/platform.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh b/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh
index d9dc497cdac..0697d3dc80b 100644
--- a/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh
@@ -37,6 +37,7 @@ platform_expected_image() {
case "$machine" in
"dlink,dir-885l") echo "seamaseal wrgac42_dlink.2015_dir885l"; return;;
+ "dlink,dir-890l") echo "seamaseal wrgac36_dlink.2013gui_dir890"; return;;
"luxul,abr-4500-v1") echo "lxl ABR-4500"; return;;
"luxul,xap-810-v1") echo "lxl XAP-810"; return;;
"luxul,xap-1410-v1") echo "lxl XAP-1410"; return;;