mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 05:12:29 +02:00
ar71xx: add missing flash partition for the DIR-825
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19075 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
a143751bb5
commit
5784ed61cc
@ -68,6 +68,11 @@ static struct mtd_partition dir825b1_partitions[] = {
|
|||||||
.offset = 0x660000,
|
.offset = 0x660000,
|
||||||
.size = 0x010000,
|
.size = 0x010000,
|
||||||
.mask_flags = MTD_WRITEABLE,
|
.mask_flags = MTD_WRITEABLE,
|
||||||
|
} , {
|
||||||
|
.name = "unknown",
|
||||||
|
.offset = 0x670000,
|
||||||
|
.size = 0x190000,
|
||||||
|
.mask_flags = MTD_WRITEABLE,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
#endif /* CONFIG_MTD_PARTITIONS */
|
#endif /* CONFIG_MTD_PARTITIONS */
|
||||||
|
@ -77,7 +77,7 @@ define Image/Build/WRT400N
|
|||||||
fi; fi
|
fi; fi
|
||||||
endef
|
endef
|
||||||
|
|
||||||
dir825b1_mtdlayout=mtdparts=spi0.0:256k(uboot)ro,64k(config)ro,1024k(kernel),5184k(rootfs),64k(caldata)ro,6208k@0x50000(firmware)
|
dir825b1_mtdlayout=mtdparts=spi0.0:256k(uboot)ro,64k(config)ro,1024k(kernel),5184k(rootfs),64k(caldata)ro,1600k(unknown)ro,6208k@0x50000(firmware)
|
||||||
define Image/Build/DIR825B1
|
define Image/Build/DIR825B1
|
||||||
$(call PatchKernelLzma,$(2),$(3) $(dir825b1_mtdlayout))
|
$(call PatchKernelLzma,$(2),$(3) $(dir825b1_mtdlayout))
|
||||||
$(call MkImageLzma,$(KDIR)/vmlinux-$(2).bin.lzma,$(call imgname,$(1),$(2)).bin)
|
$(call MkImageLzma,$(KDIR)/vmlinux-$(2).bin.lzma,$(call imgname,$(1),$(2)).bin)
|
||||||
|
Loading…
Reference in New Issue
Block a user