rt288x.mk 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. #
  2. # RT288X Profiles
  3. #
  4. define Build/gemtek-header
  5. if [ -f $@ ]; then \
  6. mkheader_gemtek $@ [email protected] $(1) && \
  7. mv [email protected] $@; \
  8. fi
  9. endef
  10. define Device/airlink101_ar670w
  11. SOC := rt2880
  12. BLOCKSIZE := 64k
  13. DEVICE_VENDOR := Airlink
  14. DEVICE_MODEL := AR670W
  15. IMAGE_SIZE := 3840k
  16. KERNEL := $(KERNEL_DTB) | pad-to $$(BLOCKSIZE)
  17. IMAGES += factory.bin
  18. IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
  19. wrg-header wrgn16a_airlink_ar670w
  20. SUPPORTED_DEVICES += ar670w
  21. endef
  22. TARGET_DEVICES += airlink101_ar670w
  23. define Device/airlink101_ar725w
  24. SOC := rt2880
  25. IMAGE_SIZE := 3776k
  26. DEVICE_VENDOR := Airlink
  27. DEVICE_MODEL := AR725W
  28. IMAGES += factory.bin
  29. IMAGE/factory.bin := $$(sysupgrade_bin) | check-size 3328k | \
  30. gemtek-header ar725w
  31. SUPPORTED_DEVICES += ar725w
  32. endef
  33. TARGET_DEVICES += airlink101_ar725w
  34. define Device/asus_rt-n15
  35. SOC := rt2880
  36. BLOCKSIZE := 64k
  37. IMAGE_SIZE := 3776k
  38. DEVICE_VENDOR := Asus
  39. DEVICE_MODEL := RT-N15
  40. DEVICE_PACKAGES := kmod-switch-rtl8366s
  41. SUPPORTED_DEVICES += rt-n15
  42. endef
  43. TARGET_DEVICES += asus_rt-n15
  44. define Device/belkin_f5d8235-v1
  45. SOC := rt2880
  46. IMAGE_SIZE := 7872k
  47. DEVICE_VENDOR := Belkin
  48. DEVICE_MODEL := F5D8235
  49. DEVICE_VARIANT := V1
  50. DEVICE_PACKAGES := kmod-switch-rtl8366s kmod-usb-ohci \
  51. kmod-usb-ohci-pci kmod-usb2 kmod-usb2-pci kmod-usb-ledtrig-usbport
  52. SUPPORTED_DEVICES += f5d8235-v1
  53. endef
  54. TARGET_DEVICES += belkin_f5d8235-v1
  55. define Device/buffalo_wli-tx4-ag300n
  56. SOC := rt2880
  57. BLOCKSIZE := 64k
  58. IMAGE_SIZE := 3776k
  59. DEVICE_VENDOR := Buffalo
  60. DEVICE_MODEL := WLI-TX4-AG300N
  61. DEVICE_PACKAGES := kmod-switch-ip17xx
  62. SUPPORTED_DEVICES += wli-tx4-ag300n
  63. endef
  64. TARGET_DEVICES += buffalo_wli-tx4-ag300n
  65. define Device/buffalo_wzr-agl300nh
  66. SOC := rt2880
  67. BLOCKSIZE := 64k
  68. IMAGE_SIZE := 3776k
  69. DEVICE_VENDOR := Buffalo
  70. DEVICE_MODEL := WZR-AGL300NH
  71. DEVICE_PACKAGES := kmod-switch-rtl8366s
  72. SUPPORTED_DEVICES += wzr-agl300nh
  73. endef
  74. TARGET_DEVICES += buffalo_wzr-agl300nh
  75. define Device/dlink_dap-1522-a1
  76. SOC := rt2880
  77. BLOCKSIZE := 64k
  78. IMAGE_SIZE := 3712k
  79. DEVICE_VENDOR := D-Link
  80. DEVICE_MODEL := DAP-1522
  81. DEVICE_VARIANT := A1
  82. DEVICE_PACKAGES := kmod-switch-rtl8366s
  83. KERNEL := $(KERNEL_DTB)
  84. IMAGES += factory.bin
  85. IMAGE/factory.bin := append-kernel | pad-offset $$$$(BLOCKSIZE) 96 | \
  86. append-rootfs | pad-rootfs -x 96 | wrg-header wapnd01_dlink_dap1522 | \
  87. check-size $$$$(IMAGE_SIZE)
  88. endef
  89. TARGET_DEVICES += dlink_dap-1522-a1
  90. define Device/ralink_v11st-fe
  91. SOC := rt2880
  92. BLOCKSIZE := 64k
  93. IMAGE_SIZE := 3776k
  94. DEVICE_VENDOR := Ralink
  95. DEVICE_MODEL := V11ST-FE
  96. SUPPORTED_DEVICES += v11st-fe
  97. endef
  98. TARGET_DEVICES += ralink_v11st-fe