summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-05 12:35:51 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-05 12:35:51 +0000
commit8e791ccc70cdd8828bc1580e0496e5c9b339e126 (patch)
treeec7ffb1afa4c52219e6ca30a8ed5c1110251c57f /tools
parentc3f5fad3fca88258a033f26262e979a77d8aea52 (diff)
[tools] firmware-utils/mkfwimage: fix root_start values
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13874 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools')
-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,