diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-12-01 22:48:42 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-12-01 22:48:42 +0000 |
commit | 33678d2d30351fb803cc4efb4e2293987ee32689 (patch) | |
tree | 52d61b6718a505b9086c95cbd392a671ff87fa1e /target/linux/ramips | |
parent | f25326846bacdf9c78eb037d801f608e46683f54 (diff) | |
download | master-187ad058-33678d2d30351fb803cc4efb4e2293987ee32689.tar.gz master-187ad058-33678d2d30351fb803cc4efb4e2293987ee32689.tar.bz2 master-187ad058-33678d2d30351fb803cc4efb4e2293987ee32689.zip |
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
Diffstat (limited to 'target/linux/ramips')
-rw-r--r-- | target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c | 6 | ||||
-rw-r--r-- | target/linux/ramips/image/Makefile | 11 |
2 files changed, 14 insertions, 3 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c b/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c index fb048912c2..18d5337b9d 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c @@ -54,11 +54,11 @@ static struct mtd_partition rt_n15_partitions[] = { }, { .name = "kernel", .offset = 0x050000, - .size = 0x0b0000, + .size = 0x0d0000, }, { .name = "rootfs", - .offset = 0x100000, - .size = 0x300000, + .offset = 0x120000, + .size = 0x2e0000, }, { .name = "firmware", .offset = 0x050000, diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index 7f0ef00e46..24f59663cc 100644 --- a/target/linux/ramips/image/Makefile +++ b/target/linux/ramips/image/Makefile @@ -258,6 +258,17 @@ define Image/Build/Profile/Default endef 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 $(call prepare_generic_squashfs,$(KDIR)/root.squashfs) endef |