aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorGiuseppe Lippolis <giu.lippolis@gmail.com>2016-11-13 23:36:00 +0100
committerMathias Kresin <dev@kresin.me>2016-11-23 08:36:11 +0100
commitec1de9b1a6cd957bb2cb68f7eda294ab73bf9102 (patch)
treece67ae1c8f74d98053ce17c67aaf9e8aec20ebdf /target/linux/ramips/base-files/lib
parent8f561c651656add4cfad6e50a621050f0393007b (diff)
downloadupstream-ec1de9b1a6cd957bb2cb68f7eda294ab73bf9102.tar.gz
upstream-ec1de9b1a6cd957bb2cb68f7eda294ab73bf9102.tar.bz2
upstream-ec1de9b1a6cd957bb2cb68f7eda294ab73bf9102.zip
ramips: Add device DLINK DWR-512-B
The Dlink DWR-512-B modem is a ralink 5350 processor based embedding a 3G mini-pcie router. The oem JBOOT bootloader has to be replaced by a RT5350 SDK U-Boot such as https://github.com/stevenylai/ralink_sdk - U-Boot configured for the RT5350 256MiB SDR. Main reason to change the bootloader is the encrypted header used to store the kernel image. In this way an image can only be generated using the propietary binboy tool (included in the GPL distribution from Dlink). The binboy tool doesn't allow to modify the kernel/rootfs partition scheme. This is considered a big constraint (limited kernel size and inefficient usage of flash space). For interested people I pubblished the details of my investigation about the encrypted firmware header here: http://lists.infradead.org/pipermail/lede-dev/2016-October/003435.html Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com>
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
2 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 5c82188406..3793e5824f 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -166,6 +166,9 @@ ramips_board_detect() {
*"DuZun DM06")
name="duzun-dm06"
;;
+ *"DWR-512 B")
+ name="dwr-512-b"
+ ;;
*"E1700")
name="e1700"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 7c63c1cf3b..3c1fb4168c 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -50,6 +50,7 @@ platform_check_image() {
dir-620-d1|\
dir-810l|\
duzun-dm06|\
+ dwr-512-b|\
e1700|\
esr-9753|\
ex2700|\