1
0

nand.mk 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. define Device/c-60
  2. DEVICE_TITLE := AirTight C-60
  3. DEVICE_PACKAGES := kmod-spi-gpio kmod-usb-core kmod-usb2 kmod-ath9k
  4. BOARDNAME = C-60
  5. BLOCKSIZE := 64k
  6. KERNEL_SIZE = 3648k
  7. IMAGE_SIZE = 32m
  8. IMAGES := sysupgrade.tar
  9. MTDPARTS = spi0.0:256k(u-boot)ro,128k(u-boot-env)ro,3648k(kernel),64k(art)ro;ar934x-nfc:32m(ubi)
  10. KERNEL := kernel-bin | patch-cmdline | lzma | uImage lzma
  11. IMAGE/sysupgrade.tar := sysupgrade-tar
  12. endef
  13. TARGET_DEVICES += c-60
  14. define Build/MerakiNAND
  15. -$(STAGING_DIR_HOST)/bin/mkmerakifw \
  16. -B $(BOARDNAME) -s \
  17. -i $@ \
  18. -o $@.new
  19. @mv $@.new $@
  20. endef
  21. define LegacyDevice/GL-AR300MD
  22. DEVICE_TITLE := GL-AR300M with nand flash
  23. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 uboot-envtools
  24. endef
  25. LEGACY_DEVICES += GL-AR300MD
  26. define Device/mr18
  27. DEVICE_TITLE := Meraki MR18
  28. DEVICE_PACKAGES := kmod-spi-gpio kmod-ath9k
  29. BOARDNAME = MR18
  30. BLOCKSIZE := 64k
  31. CONSOLE = ttyS0,115200
  32. MTDPARTS = ar934x-nfc:512k(nandloader)ro,8M(kernel),8M(recovery),113664k(ubi),128k@130944k(odm-caldata)ro
  33. IMAGES := sysupgrade.tar
  34. KERNEL := kernel-bin | patch-cmdline | MerakiNAND
  35. KERNEL_INITRAMFS := kernel-bin | patch-cmdline | MerakiNAND
  36. IMAGE/sysupgrade.tar := sysupgrade-tar
  37. endef
  38. TARGET_DEVICES += mr18
  39. define Build/MerakiNAND-old
  40. -$(STAGING_DIR_HOST)/bin/mkmerakifw-old \
  41. -B $(BOARDNAME) -s \
  42. -i $@ \
  43. -o $@.new
  44. @mv $@.new $@
  45. endef
  46. define Device/z1
  47. DEVICE_TITLE := Meraki Z1
  48. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-spi-gpio kmod-ath9k kmod-owl-loader
  49. BOARDNAME = Z1
  50. BLOCKSIZE := 64k
  51. CONSOLE = ttyS0,115200
  52. MTDPARTS = ar934x-nfc:128K(loader1)ro,8064K(kernel),128K(loader2)ro,8064K(recovery),114560K(ubi),128K(origcaldata)ro
  53. IMAGES := sysupgrade.tar
  54. KERNEL := kernel-bin | patch-cmdline | MerakiNAND-old
  55. KERNEL_INITRAMFS := kernel-bin | patch-cmdline | MerakiNAND-old
  56. IMAGE/sysupgrade.tar := sysupgrade-tar
  57. endef
  58. TARGET_DEVICES += z1
  59. define LegacyDevice/WNDR3700V4
  60. DEVICE_TITLE := NETGEAR WNDR3700v4
  61. DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport
  62. endef
  63. LEGACY_DEVICES += WNDR3700V4
  64. define LegacyDevice/WNDR4300V1
  65. DEVICE_TITLE := NETGEAR WNDR4300v1
  66. DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport
  67. endef
  68. LEGACY_DEVICES += WNDR4300V1