rt3883.mk 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. #
  2. # RT3662/RT3883 Profiles
  3. #
  4. define Build/mkrtn56uimg
  5. $(STAGING_DIR_HOST)/bin/mkrtn56uimg $(1) $@
  6. endef
  7. define Device/br-6475nd
  8. DTS := BR-6475ND
  9. BLOCKSIZE := 64k
  10. IMAGE_SIZE := 7744k
  11. IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \
  12. edimax-header -s CSYS -m RN54 -f 0x70000 -S 0x01100000 | pad-rootfs | \
  13. append-metadata | check-size $$$$(IMAGE_SIZE)
  14. DEVICE_TITLE := Edimax BR-6475nD
  15. DEVICE_PACKAGES := swconfig
  16. endef
  17. TARGET_DEVICES += br-6475nd
  18. define Device/cy-swr1100
  19. DTS := CY-SWR1100
  20. BLOCKSIZE := 64k
  21. KERNEL := $(KERNEL_DTB)
  22. IMAGES += factory.bin
  23. IMAGE/sysupgrade.bin := \
  24. append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | append-rootfs | \
  25. seama -m "dev=/dev/mtdblock/2" -m "type=firmware" | \
  26. pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
  27. IMAGE/factory.bin := \
  28. append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | \
  29. append-rootfs | pad-rootfs -x 64 | \
  30. seama -m "dev=/dev/mtdblock/2" -m "type=firmware" | \
  31. seama-seal -m "signature=wrgnd10_samsung_ss815" | \
  32. check-size $$$$(IMAGE_SIZE)
  33. DEVICE_TITLE := Samsung CY-SWR1100
  34. DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 swconfig
  35. endef
  36. TARGET_DEVICES += cy-swr1100
  37. define Device/dir-645
  38. DTS := DIR-645
  39. BLOCKSIZE := 4k
  40. KERNEL := $(KERNEL_DTB)
  41. IMAGES += factory.bin
  42. IMAGE/sysupgrade.bin := \
  43. append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | append-rootfs | \
  44. seama -m "dev=/dev/mtdblock/2" -m "type=firmware" | \
  45. pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
  46. IMAGE/factory.bin := \
  47. append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | \
  48. append-rootfs | pad-rootfs -x 64 | \
  49. seama -m "dev=/dev/mtdblock/2" -m "type=firmware" | \
  50. seama-seal -m "signature=wrgn39_dlob.hans_dir645" | \
  51. check-size $$$$(IMAGE_SIZE)
  52. DEVICE_TITLE := D-Link DIR-645
  53. DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 swconfig
  54. endef
  55. TARGET_DEVICES += dir-645
  56. define Device/hpm
  57. DTS := HPM
  58. BLOCKSIZE := 64k
  59. IMAGE_SIZE := 16064k
  60. DEVICE_TITLE := Omnima HPM
  61. DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2
  62. endef
  63. TARGET_DEVICES += hpm
  64. define Device/rt-n56u
  65. DTS := RT-N56U
  66. BLOCKSIZE := 64k
  67. IMAGES += factory.bin
  68. IMAGE/sysupgrade.bin += | mkrtn56uimg -s
  69. IMAGE/factory.bin := $$(sysupgrade_bin) | \
  70. check-size $$$$(IMAGE_SIZE) | mkrtn56uimg -f
  71. DEVICE_TITLE := Asus RT-N56U
  72. DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 swconfig
  73. endef
  74. TARGET_DEVICES += rt-n56u
  75. define Device/tew-691gr
  76. DTS := TEW-691GR
  77. BLOCKSIZE := 64k
  78. IMAGES += factory.bin
  79. IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
  80. umedia-header 0x026910
  81. DEVICE_TITLE := TRENDnet TEW-691GR
  82. DEVICE_PACKAGES := swconfig
  83. endef
  84. TARGET_DEVICES += tew-691gr
  85. define Device/tew-692gr
  86. DTS := TEW-692GR
  87. BLOCKSIZE := 64k
  88. IMAGES += factory.bin
  89. IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
  90. umedia-header 0x026920
  91. DEVICE_TITLE := TRENDnet TEW-692GR
  92. DEVICE_PACKAGES := swconfig
  93. endef
  94. TARGET_DEVICES += tew-692gr
  95. define Device/wlr-6000
  96. DTS := WLR-6000
  97. BLOCKSIZE := 4k
  98. IMAGE_SIZE := 7244k
  99. IMAGES += factory.dlf
  100. IMAGE/factory.dlf := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
  101. senao-header -r 0x0202 -p 0x41 -t 2
  102. DEVICE_TITLE := Sitecom WLR-6000
  103. DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 swconfig
  104. endef
  105. TARGET_DEVICES += wlr-6000