[tools] firmware-utils/mkfwimage: fix root_start values
authorGabor Juhos <juhosg@openwrt.org>
Mon, 5 Jan 2009 12:35:51 +0000 (12:35 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Mon, 5 Jan 2009 12:35:51 +0000 (12:35 +0000)
SVN-Revision: 13874

tools/firmware-utils/src/mkfwimage.c

index 5c6a879..edbd8ec 100644 (file)
@@ -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,