[tools] firmware-utils/mkfwimage: fix root_start values
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 5 Jan 2009 12:35:51 +0000 (12:35 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 5 Jan 2009 12:35:51 +0000 (12:35 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13874 3c298f89-4303-0410-b956-a3cf2f4a3e73

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,
This page took 0.027304 seconds and 4 git commands to generate.