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 5c6a8792b32fe0ebc7e7f8b7b9ea5a33fb9c8f1c..edbd8ec4db325bb25cbf4ea395fd87615656e762 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,