Hi Christian, please use the new image/Makefile style. Like the most tplink or ubiquity devices use it.
If you need any help, just ask. Best, lynxis On Sat, 5 Dec 2015 23:48:08 +0100 Christian Lamparter <[email protected]> wrote: > +MIPS_MACHINE(ATH79_MACH_MR18, "MR18", "Meraki MR18", mr18_setup); > diff --git a/target/linux/ar71xx/image/Makefile > b/target/linux/ar71xx/image/Makefile index d12ad8b..bac4a18 100644 > --- a/target/linux/ar71xx/image/Makefile > +++ b/target/linux/ar71xx/image/Makefile > @@ -1494,6 +1494,7 @@ > dragino2_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,16000k(firmware),64k(config)ro > hiwifi_hc6361_mtdlayout=mtdparts=spi0.0:64k(u-boot)ro,64k(bdinfo)ro,1280k(kernel),14848k(rootfs),64k(backup)ro,64k(art)ro,16128k@0x20000(firmware) > mr12_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,256k(u-boot-env)ro,13440k(rootfs),2304k(kernel),128k(art)ro,15744k@0x80000(firmware) > mr16_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,256k(u-boot-env)ro,13440k(rootfs),2304k(kernel),128k(art)ro,15744k@0x80000(firmware) > +mr18_mtdlayout=mtdparts=ar934x-nfc:512k(nandloader)ro,8M(kernel),8M(recovery),113664k(ubi),128k@130944k(odm-caldata)ro > pb92_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,2752k(rootfs),896k(kernel),64k(nvram),64k(art)ro,3648k@0x50000(firmware) > planex_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,7744k(firmware),128k(art)ro > ubntxm_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,7552k(firmware),256k(cfg)ro,64k(EEPROM)ro > @@ -1975,6 +1976,37 @@ Image/Build/CyberTANLZMA/buildkernel=$(call > MkuImageLzma,$(2),$(3) $(4)) Image/Build/CyberTANLZMA=$(call > Image/Build/CyberTAN,$(1),$(2),$(3),$(4),$(5)) > +define Image/Build/MerakiNAND/initramfs > + $(eval kernelsize=$(call mtdpartsize,kernel,$(4))) > + $(call PatchKernel,$(2),$(3) $(4),"-initramfs") > + -$(STAGING_DIR_HOST)/bin/mkmerakifw \ > + -B $(2) -s \ > + -i $(KDIR_TMP)/vmlinux-initramfs-$(2) \ > + -o $(KDIR_TMP)/vmlinux-initramfs-$(2)-patched > + $(CP) $(KDIR_TMP)/vmlinux-initramfs-$(2)-patched > $(BIN_DIR)/$(IMG_PREFIX)-$(2)-initramfs.bin +endef > + -- Alexander Couzens mail: [email protected] jabber: [email protected] mobile: +4915123277221 gpg: 390D CF78 8BF9 AA50 4F8F F1E2 C29E 9DA6 A0DF 8604
pgppx85a_9ZdG.pgp
Description: OpenPGP digital signature
_______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
