aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-01-05 12:35:51 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-01-05 12:35:51 +0000
commit22281a9146b5d3b217e1774ecdd28a8d32f998a7 (patch)
treeec7ffb1afa4c52219e6ca30a8ed5c1110251c57f
parentd8a523ae5d98a4575f58f53131528ca15a7e4ef1 (diff)
downloadupstream-22281a9146b5d3b217e1774ecdd28a8d32f998a7.tar.gz
upstream-22281a9146b5d3b217e1774ecdd28a8d32f998a7.tar.bz2
upstream-22281a9146b5d3b217e1774ecdd28a8d32f998a7.zip
[tools] firmware-utils/mkfwimage: fix root_start values
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13874 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--tools/firmware-utils/src/mkfwimage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/firmware-utils/src/mkfwimage.c b/tools/firmware-utils/src/mkfwimage.c
index 5c6a8792b3..edbd8ec4db 100644
--- a/tools/firmware-utils/src/mkfwimage.c
+++ b/tools/firmware-utils/src/mkfwimage.c
@@ -46,7 +46,7 @@ fw_layout_t fw_layout_data[] = {
.name = "XS2",
.kern_start = 0xbfc30000,
.kern_len = 0x00140000,
- .root_start = 0xbfc30000,
+ .root_start = 0xbfc30000 + 0x00140000,
.root_len = 0x002C0000,
.kern_entry = 0x80041000,
.firmware_max_length= 0x00390000,
@@ -55,7 +55,7 @@ fw_layout_t fw_layout_data[] = {
.name = "XS5",
.kern_start = 0xbe030000,
.kern_len = 0x00140000,
- .root_start = 0xbe030000,
+ .root_start = 0xbe030000 + 0x00140000,
.root_len = 0x002C0000,
.kern_entry = 0x80041000,
.firmware_max_length= 0x00390000,