summaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-02-01 15:50:54 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-02-01 15:50:54 +0000
commit6805275fdcb9e66d1c461ab0f6d7078a5c9df717 (patch)
tree5c11181ba8cc171575193f282ad52566bb4e09ec /target/linux
parenta2a5f9b405ea417cdc01f4e3063ed14d95a288fa (diff)
downloadmaster-31e0f0ae-6805275fdcb9e66d1c461ab0f6d7078a5c9df717.tar.gz
master-31e0f0ae-6805275fdcb9e66d1c461ab0f6d7078a5c9df717.tar.bz2
master-31e0f0ae-6805275fdcb9e66d1c461ab0f6d7078a5c9df717.zip
ar71xx: sysupgrade - fix OpenMesh MR600 total flash size
Signed-off-by: Marek Lindner <marek@open-mesh.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35433
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh4
1 files changed, 3 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 2575b0a7f0..5179875fe0 100644
--- a/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
@@ -119,7 +119,7 @@ platform_do_upgrade_openmesh()
local kernel_start_addr= kernel_start_addr1= kernel_start_addr2=
local kernel_size= kernel_md5=
local rootfs_size= rootfs_checksize= rootfs_md5=
- local kernel_bsize= total_size=7340032
+ local kernel_bsize= total_size=
local data_offset=$((64 * 1024)) block_size= offset=
local uboot_env_upgrade="/tmp/fw_env_upgrade"
local cfg_size= kernel_size= rootfs_size=
@@ -137,11 +137,13 @@ platform_do_upgrade_openmesh()
case $img_board_target in
OM2P)
block_size=$((256 * 1024))
+ total_size=7340032
kernel_start_addr1=0x9f1c0000
kernel_start_addr2=0x9f8c0000
;;
MR600)
block_size=$((64 * 1024))
+ total_size=7995392
kernel_start_addr1=0x9f0b0000
kernel_start_addr2=0x9f850000
;;