mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-27 14:01:05 +02:00
[ar71xx] tew-632brp: increase the size of rootfs partition, and build one unified firmware image only
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14709 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
db62a849ec
commit
f3c86673c1
@ -48,16 +48,16 @@ static struct mtd_partition tew_632brp_partitions[] = {
|
|||||||
} , {
|
} , {
|
||||||
.name = "rootfs",
|
.name = "rootfs",
|
||||||
.offset = 0x0f0000,
|
.offset = 0x0f0000,
|
||||||
.size = 0x2f0000,
|
.size = 0x300000,
|
||||||
} , {
|
} , {
|
||||||
.name = "art",
|
.name = "art",
|
||||||
.offset = 0x3e0000,
|
.offset = 0x3f0000,
|
||||||
.size = 0x020000,
|
.size = 0x010000,
|
||||||
.mask_flags = MTD_WRITEABLE,
|
.mask_flags = MTD_WRITEABLE,
|
||||||
} , {
|
} , {
|
||||||
.name = "firmware",
|
.name = "firmware",
|
||||||
.offset = 0x030000,
|
.offset = 0x030000,
|
||||||
.size = 0x3b0000,
|
.size = 0x3c0000,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
#endif /* CONFIG_MTD_PARTITIONS */
|
#endif /* CONFIG_MTD_PARTITIONS */
|
||||||
|
@ -52,9 +52,8 @@ define Image/Build/AP81
|
|||||||
( \
|
( \
|
||||||
dd if=$(KDIR)/vmlinux-$(2).uImage bs=768k conv=sync; \
|
dd if=$(KDIR)/vmlinux-$(2).uImage bs=768k conv=sync; \
|
||||||
dd if=$(KDIR)/root.$(1) bs=3008k conv=sync; \
|
dd if=$(KDIR)/root.$(1) bs=3008k conv=sync; \
|
||||||
) > $(call imgname,$(1),$(2)).bin; \
|
echo -n $(4); \
|
||||||
cp $(call imgname,$(1),$(2)).bin $(call imgname,$(1),$(2)).webui; \
|
) > $(call imgname,$(1),$(2)).uni; \
|
||||||
echo -n $(4) >> $(call imgname,$(1),$(2)).webui; \
|
|
||||||
fi; fi
|
fi; fi
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user