diff options
author | Giuseppe Lippolis <giu.lippolis@gmail.com> | 2016-11-13 23:36:00 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2016-11-23 08:36:11 +0100 |
commit | ec1de9b1a6cd957bb2cb68f7eda294ab73bf9102 (patch) | |
tree | ce67ae1c8f74d98053ce17c67aaf9e8aec20ebdf /target/linux/ramips/base-files | |
parent | 8f561c651656add4cfad6e50a621050f0393007b (diff) | |
download | upstream-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')
-rw-r--r-- | target/linux/ramips/base-files/etc/diag.sh | 1 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/lib/ramips.sh | 3 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/lib/upgrade/platform.sh | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 1aa1a2e9fb..a7b8ae0b06 100644 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -67,6 +67,7 @@ get_status_led() { dir-615-h1|\ dir-620-a1|\ dir-620-d1|\ + dwr-512-b|\ hpm|\ hw550-3g|\ mac1200rv2|\ 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|\ |