diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-10-19 08:07:40 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-10-19 08:07:40 +0000 |
commit | 9073d4dd1f5775c3bc116fe8f25b52601a48969d (patch) | |
tree | 8252c24cb480e769b6fc90fe00c341a7c545b734 /target/linux/ar71xx/image | |
parent | b34f5db43c48527e9d91458ef8fc016be432112d (diff) | |
download | upstream-9073d4dd1f5775c3bc116fe8f25b52601a48969d.tar.gz upstream-9073d4dd1f5775c3bc116fe8f25b52601a48969d.tar.bz2 upstream-9073d4dd1f5775c3bc116fe8f25b52601a48969d.zip |
ar71xx: create firmware image for WP543 boards with 4/8/16MB of flash
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18075 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/image')
-rw-r--r-- | target/linux/ar71xx/image/Makefile | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index 816f27e63a..5a126c0af2 100644 --- a/target/linux/ar71xx/image/Makefile +++ b/target/linux/ar71xx/image/Makefile @@ -106,9 +106,21 @@ endef define Image/Build/MyLoader -$(STAGING_DIR_HOST)/bin/mkmylofw -B $(2) \ - -p0x30000:0xc0000:al:0x80060000:kernel:$(KDIR)/vmlinux.bin.lzma \ - -p0xf0000:0:::rootfs:$(KDIR)/root.$(1) \ - $(call imgname,$(1),$(2)).img + -p0x030000:0xd0000:al:0x80060000:kernel:$(KDIR)/vmlinux.bin.lzma \ + -p0x100000:0:::rootfs:$(KDIR)/root.$(1) \ + $(call imgname,$(1),$(2))-2M.img + -$(STAGING_DIR_HOST)/bin/mkmylofw -B $(2) -s 0x400000 \ + -p0x030000:0xd0000:al:0x80060000:kernel:$(KDIR)/vmlinux.bin.lzma \ + -p0x100000:0:::rootfs:$(KDIR)/root.$(1) \ + $(call imgname,$(1),$(2))-4M.img + -$(STAGING_DIR_HOST)/bin/mkmylofw -B $(2) -s 0x800000 \ + -p0x030000:0xd0000:al:0x80060000:kernel:$(KDIR)/vmlinux.bin.lzma \ + -p0x100000:0:::rootfs:$(KDIR)/root.$(1) \ + $(call imgname,$(1),$(2))-8M.img + -$(STAGING_DIR_HOST)/bin/mkmylofw -B $(2) -s 0x1000000 \ + -p0x030000:0xd0000:al:0x80060000:kernel:$(KDIR)/vmlinux.bin.lzma \ + -p0x100000:0:::rootfs:$(KDIR)/root.$(1) \ + $(call imgname,$(1),$(2))-16M.img endef define Image/Build/UBNT |