diff options
author | Zoltan Herpai <wigyori@uid0.hu> | 2016-09-21 21:13:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-21 21:13:17 +0200 |
commit | d6b3ca24c50047af58135ad3090f7a3a25eee35d (patch) | |
tree | 396e8a75db1ad4deccaee1f3beb9373264454e84 /target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh | |
parent | 2a97364ad496e90fbf3dc723a7db44096a9955f6 (diff) | |
parent | 3411c9a885955875a02e764e34d5be21132a444e (diff) | |
download | upstream-d6b3ca24c50047af58135ad3090f7a3a25eee35d.tar.gz upstream-d6b3ca24c50047af58135ad3090f7a3a25eee35d.tar.bz2 upstream-d6b3ca24c50047af58135ad3090f7a3a25eee35d.zip |
Merge pull request #82 from ecsv/openmesh-cc
OpenMesh MR1750(v2) and OM2P-HSv3 support for Chaos Calmer
Diffstat (limited to 'target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh')
-rw-r--r-- | target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh b/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh index 547116e6d4..95d39bf082 100644 --- a/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh @@ -63,6 +63,7 @@ platform_check_image_openmesh() [ "$board" = "om2p-lc" ] && break [ "$board" = "om2p-hs" ] && break [ "$board" = "om2p-hsv2" ] && break + [ "$board" = "om2p-hsv3" ] && break echo "Invalid image board target ($img_board_target) for this platform: $board. Use the correct image for this platform" return 1 ;; @@ -72,6 +73,18 @@ platform_check_image_openmesh() echo "Invalid image board target ($img_board_target) for this platform: $board. Use the correct image for this platform" return 1 ;; + OM5PAC) + [ "$board" = "om5p-ac" ] && break + [ "$board" = "om5p-acv2" ] && break + echo "Invalid image board target ($img_board_target) for this platform: $board. Use the correct image for this platform" + return 1 + ;; + MR1750) + [ "$board" = "mr1750" ] && break + [ "$board" = "mr1750v2" ] && break + echo "Invalid image board target ($img_board_target) for this platform: $board. Use the correct image for this platform" + return 1 + ;; MR600) [ "$board" = "mr600" ] && break [ "$board" = "mr600v2" ] && break @@ -157,7 +170,7 @@ platform_do_upgrade_openmesh() kernel_start_addr1=0x9f1c0000 kernel_start_addr2=0x9f8c0000 ;; - OM5P|MR600|MR900) + OM5P|OM5PAC|MR600|MR900|MR1750) block_size=$((64 * 1024)) total_size=7995392 kernel_start_addr1=0x9f0b0000 |