mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-27 14:11:06 +02:00
ramips: fix Asus RT-N15 board support
Fix Asus RT-N15 flash partitions and make an image. Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29381 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
fc0b7d945e
commit
bee289fa27
@ -54,11 +54,11 @@ static struct mtd_partition rt_n15_partitions[] = {
|
|||||||
}, {
|
}, {
|
||||||
.name = "kernel",
|
.name = "kernel",
|
||||||
.offset = 0x050000,
|
.offset = 0x050000,
|
||||||
.size = 0x0b0000,
|
.size = 0x0d0000,
|
||||||
}, {
|
}, {
|
||||||
.name = "rootfs",
|
.name = "rootfs",
|
||||||
.offset = 0x100000,
|
.offset = 0x120000,
|
||||||
.size = 0x300000,
|
.size = 0x2e0000,
|
||||||
}, {
|
}, {
|
||||||
.name = "firmware",
|
.name = "firmware",
|
||||||
.offset = 0x050000,
|
.offset = 0x050000,
|
||||||
|
@ -258,6 +258,17 @@ define Image/Build/Profile/Default
|
|||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
define Image/Build/Profile/RTN15
|
||||||
|
$(call Image/Build/Template/GENERIC_4M,$(1),rt-n15,RT-N15)
|
||||||
|
endef
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_RALINK_RT288X),y)
|
||||||
|
define Image/Build/Profile/Default
|
||||||
|
$(call Image/Build/Profile/RTN15,$(1))
|
||||||
|
endef
|
||||||
|
endif
|
||||||
|
|
||||||
define Image/Build/squashfs
|
define Image/Build/squashfs
|
||||||
$(call prepare_generic_squashfs,$(KDIR)/root.squashfs)
|
$(call prepare_generic_squashfs,$(KDIR)/root.squashfs)
|
||||||
endef
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user