diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-03-01 11:17:16 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-03-01 11:17:16 +0000 |
commit | 1d5f4b368735fb8aeec628fd3aacf1e9b5fc0a19 (patch) | |
tree | 4d9514b308d7798f202a63df2c8f084c604ecaf9 /target | |
parent | bc1ff678dd91ea52b81cd98a95d2677b240b8023 (diff) | |
download | upstream-1d5f4b368735fb8aeec628fd3aacf1e9b5fc0a19.tar.gz upstream-1d5f4b368735fb8aeec628fd3aacf1e9b5fc0a19.tar.bz2 upstream-1d5f4b368735fb8aeec628fd3aacf1e9b5fc0a19.zip |
tew-632brp: increase the size of rootfs partition, and build one unified firmware image only
SVN-Revision: 14709
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ar71xx/mach-tew-632brp.c | 8 | ||||
-rw-r--r-- | target/linux/ar71xx/image/Makefile | 5 |
2 files changed, 6 insertions, 7 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tew-632brp.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tew-632brp.c index 8235a6dd0f..c3fc2b212d 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tew-632brp.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tew-632brp.c @@ -48,16 +48,16 @@ static struct mtd_partition tew_632brp_partitions[] = { } , { .name = "rootfs", .offset = 0x0f0000, - .size = 0x2f0000, + .size = 0x300000, } , { .name = "art", - .offset = 0x3e0000, - .size = 0x020000, + .offset = 0x3f0000, + .size = 0x010000, .mask_flags = MTD_WRITEABLE, } , { .name = "firmware", .offset = 0x030000, - .size = 0x3b0000, + .size = 0x3c0000, } }; #endif /* CONFIG_MTD_PARTITIONS */ diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index c861dce25b..4a226084fb 100644 --- a/target/linux/ar71xx/image/Makefile +++ b/target/linux/ar71xx/image/Makefile @@ -52,9 +52,8 @@ define Image/Build/AP81 ( \ dd if=$(KDIR)/vmlinux-$(2).uImage bs=768k conv=sync; \ dd if=$(KDIR)/root.$(1) bs=3008k conv=sync; \ - ) > $(call imgname,$(1),$(2)).bin; \ - cp $(call imgname,$(1),$(2)).bin $(call imgname,$(1),$(2)).webui; \ - echo -n $(4) >> $(call imgname,$(1),$(2)).webui; \ + echo -n $(4); \ + ) > $(call imgname,$(1),$(2)).uni; \ fi; fi endef |