aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-10-20 15:59:08 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-10-20 15:59:08 +0000
commitc0257defa80ade8df052e57fc636966ba9e7d999 (patch)
tree60f6ec03e44361e3f509afc4836ad6648fc334cf
parent3d01e720ff7d33999e7c81481b860fae531c88f1 (diff)
downloadmaster-187ad058-c0257defa80ade8df052e57fc636966ba9e7d999.tar.gz
master-187ad058-c0257defa80ade8df052e57fc636966ba9e7d999.tar.bz2
master-187ad058-c0257defa80ade8df052e57fc636966ba9e7d999.zip
mkfwimage: Increase RSPRO maximum size to 0xF00000 (15 MiB)
RSPRO has 16MiB of Flash, using the following layout: [ 2.930000] 0x000000000000-0x000000030000 : "RedBoot" [ 2.940000] 0x000000030000-0x000000130000 : "kernel" [ 2.950000] 0x000000130000-0x000000ff0000 : "rootfs" [ 2.960000] 0x000000ff0000-0x000000fff000 : "FIS directory" [ 2.970000] 0x000000fff000-0x000001000000 : "RedBoot config" Firmware images contain kernel and rootfs, so they can use up to 0xFF0000 - 0x30000 = 0xFC0000 (15,75MiB) of space. We don't include the RedBoot and FIS partitions and leave an extra 0xC0000 (768KiB) of space. This is based on revision 18410 which sets the limit to 0xB00000 (11 MiB). Signed-off-by: Bruno Randolf <br1@einfach.org> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38484 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--tools/firmware-utils/src/mkfwimage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/firmware-utils/src/mkfwimage.c b/tools/firmware-utils/src/mkfwimage.c
index a527014b55..e3a03c191c 100644
--- a/tools/firmware-utils/src/mkfwimage.c
+++ b/tools/firmware-utils/src/mkfwimage.c
@@ -61,7 +61,7 @@ fw_layout_t fw_layout_data[] = {
.name = "RSPRO",
.kern_start = 0xbf030000,
.kern_entry = 0x80060000,
- .firmware_max_length= 0x00B00000,
+ .firmware_max_length= 0x00F00000,
},
{
.name = "LS-SR71",