nand.mk 532 B

12345678910111213141516171819
  1. define Build/MerakiNAND
  2. -$(STAGING_DIR_HOST)/bin/mkmerakifw \
  3. -B $(BOARDNAME) -s \
  4. -i $@ \
  5. -o $@.new
  6. @mv $@.new $@
  7. endef
  8. define Device/mr18
  9. BOARDNAME = MR18
  10. BLOCKSIZE := 64k
  11. CONSOLE = ttyS0,115200
  12. MTDPARTS = ar934x-nfc:512k(nandloader)ro,8M(kernel),8M(recovery),113664k(ubi),128k@130944k(odm-caldata)ro
  13. IMAGES := sysupgrade.tar
  14. KERNEL := kernel-bin | patch-cmdline | MerakiNAND
  15. KERNEL_INITRAMFS := kernel-bin | patch-cmdline | MerakiNAND
  16. IMAGE/sysupgrade.tar := sysupgrade-nand
  17. endef
  18. TARGET_DEVICES += mr18