bcm63xx.mk 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083
  1. #
  2. # BCM33XX/BCM63XX Profiles
  3. #
  4. define Device/bcm33xx
  5. KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | loader-lzma bin | hcs-initramfs
  6. IMAGES :=
  7. HCS_MAGIC_BYTES :=
  8. HCS_REV_MIN :=
  9. HCS_REV_MAJ :=
  10. endef
  11. DEVICE_VARS += HCS_MAGIC_BYTES HCS_REV_MIN HCS_REV_MAJ
  12. define Device/bcm63xx
  13. FILESYSTEMS := squashfs jffs2-64k jffs2-128k
  14. KERNEL := kernel-bin | append-dtb | relocate-kernel | lzma | lzma-cfe
  15. KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | loader-lzma elf
  16. IMAGES := cfe.bin
  17. IMAGE/cfe.bin := cfe-bin --pad $$$$(shell expr $$$$(FLASH_MB) / 2)
  18. IMAGE/cfe-4M.bin := cfe-bin --pad 2
  19. IMAGE/cfe-8M.bin := cfe-bin --pad 4
  20. IMAGE/cfe-16M.bin := cfe-bin --pad 8
  21. IMAGE/cfe-bc221.bin := cfe-bin --layoutver 5
  22. IMAGE/cfe-old.bin := cfe-old-bin
  23. IMAGE/sysupgrade.bin := cfe-bin
  24. BLOCK_SIZE := 0x10000
  25. IMAGE_OFFSET :=
  26. FLASH_MB := 4
  27. CFE_BOARD_ID :=
  28. CFE_CHIP_ID :=
  29. CFE_EXTRAS = --block-size $$(BLOCK_SIZE) --image-offset $$(if $$(IMAGE_OFFSET),$$(IMAGE_OFFSET),$$(BLOCK_SIZE))
  30. endef
  31. DEVICE_VARS += BLOCK_SIZE FLASH_MB IMAGE_OFFSET
  32. DEVICE_VARS += CFE_BOARD_ID CFE_CHIP_ID CFE_EXTRAS
  33. define Device/bcm63xx_netgear
  34. $(Device/bcm63xx)
  35. IMAGES := factory.chk sysupgrade.bin
  36. IMAGE/factory.chk := cfe-bin | netgear-chk
  37. NETGEAR_BOARD_ID :=
  38. NETGEAR_REGION :=
  39. endef
  40. DEVICE_VARS += NETGEAR_BOARD_ID NETGEAR_REGION
  41. define Device/bcm63xx_redboot
  42. FILESYSTEMS := squashfs
  43. KERNEL := kernel-bin | append-dtb | gzip
  44. KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | loader-lzma elf
  45. IMAGES := redboot.bin
  46. IMAGE/redboot.bin := redboot-bin
  47. REDBOOT_PREFIX := $$(IMAGE_PREFIX)
  48. endef
  49. DEVICE_VARS += REDBOOT_PREFIX
  50. ### Generic ###
  51. define Device/963281TAN-generic
  52. $(Device/bcm63xx)
  53. IMAGES := cfe-4M.bin cfe-8M.bin cfe-16M.bin
  54. DEVICE_TITLE := Generic 963281TAN
  55. DEVICE_DTS := bcm963281TAN
  56. CFE_BOARD_ID := 963281TAN
  57. CFE_CHIP_ID := 6328
  58. endef
  59. TARGET_DEVICES += 963281TAN-generic
  60. define Device/96328avng-generic
  61. $(Device/bcm63xx)
  62. IMAGES := cfe-4M.bin cfe-8M.bin cfe-16M.bin
  63. DEVICE_TITLE := Generic 96328avng
  64. DEVICE_DTS := bcm96328avng
  65. CFE_BOARD_ID := 96328avng
  66. CFE_CHIP_ID := 6328
  67. endef
  68. TARGET_DEVICES += 96328avng-generic
  69. define Device/96338GW-generic
  70. $(Device/bcm63xx)
  71. DEVICE_TITLE := Generic 96338GW
  72. DEVICE_DTS := bcm96338GW
  73. CFE_BOARD_ID := 6338GW
  74. CFE_CHIP_ID := 6338
  75. endef
  76. TARGET_DEVICES += 96338GW-generic
  77. define Device/96338W-generic
  78. $(Device/bcm63xx)
  79. DEVICE_TITLE := Generic 96338W
  80. DEVICE_DTS := bcm96338W
  81. CFE_BOARD_ID := 6338W
  82. CFE_CHIP_ID := 6338
  83. endef
  84. TARGET_DEVICES += 96338W-generic
  85. define Device/96345GW2-generic
  86. $(Device/bcm63xx)
  87. IMAGES += cfe-bc221.bin
  88. DEVICE_TITLE := Generic 96345GW2
  89. DEVICE_DTS := bcm96345GW2
  90. CFE_BOARD_ID := 96345GW2
  91. CFE_CHIP_ID := 6345
  92. endef
  93. TARGET_DEVICES += 96345GW2-generic
  94. define Device/96348GW-generic
  95. $(Device/bcm63xx)
  96. IMAGES += cfe-bc221.bin
  97. DEVICE_TITLE := Generic 96348GW
  98. DEVICE_DTS := bcm96348GW
  99. CFE_BOARD_ID := 96348GW
  100. CFE_CHIP_ID := 6348
  101. endef
  102. TARGET_DEVICES += 96348GW-generic
  103. define Device/96348GW-10-generic
  104. $(Device/bcm63xx)
  105. DEVICE_TITLE := Generic 96348GW-10
  106. DEVICE_DTS := bcm96348GW-10
  107. CFE_BOARD_ID := 96348GW-10
  108. CFE_CHIP_ID := 6348
  109. endef
  110. TARGET_DEVICES += 96348GW-10-generic
  111. define Device/96348GW-11-generic
  112. $(Device/bcm63xx)
  113. DEVICE_TITLE := Generic 96348GW-11
  114. DEVICE_DTS := bcm96348GW-11
  115. CFE_BOARD_ID := 96348GW-11
  116. CFE_CHIP_ID := 6348
  117. endef
  118. TARGET_DEVICES += 96348GW-11-generic
  119. define Device/96348R-generic
  120. $(Device/bcm63xx)
  121. DEVICE_TITLE := Generic 96348R
  122. DEVICE_DTS := bcm96348R
  123. CFE_BOARD_ID := 96348R
  124. CFE_CHIP_ID := 6348
  125. endef
  126. TARGET_DEVICES += 96348R-generic
  127. define Device/96358VW-generic
  128. $(Device/bcm63xx)
  129. DEVICE_TITLE := Generic 96358VW
  130. DEVICE_DTS := bcm96358VW
  131. CFE_BOARD_ID := 96358VW
  132. CFE_CHIP_ID := 6358
  133. endef
  134. TARGET_DEVICES += 96358VW-generic
  135. define Device/96358VW2-generic
  136. $(Device/bcm63xx)
  137. DEVICE_TITLE := Generic 96358VW2
  138. DEVICE_DTS := bcm96358VW2
  139. CFE_BOARD_ID := 96358VW2
  140. CFE_CHIP_ID := 6358
  141. endef
  142. TARGET_DEVICES += 96358VW2-generic
  143. define Device/96368MVNgr-generic
  144. $(Device/bcm63xx)
  145. DEVICE_TITLE := Generic 96368MVNgr
  146. DEVICE_DTS := bcm96368MVNgr
  147. CFE_BOARD_ID := 96368MVNgr
  148. CFE_CHIP_ID := 6368
  149. endef
  150. TARGET_DEVICES += 96368MVNgr-generic
  151. define Device/96368MVWG-generic
  152. $(Device/bcm63xx)
  153. DEVICE_TITLE := Generic 96368MVWG
  154. DEVICE_DTS := bcm96368MVWG
  155. CFE_BOARD_ID := 96368MVWG
  156. CFE_CHIP_ID := 6368
  157. endef
  158. TARGET_DEVICES += 96368MVWG-generic
  159. ### ADB ###
  160. define Device/A4001N
  161. $(Device/bcm63xx)
  162. DEVICE_TITLE := ADB P.DG A4001N
  163. DEVICE_DTS := a4001n
  164. CFE_BOARD_ID := 96328dg2x2
  165. CFE_CHIP_ID := 6328
  166. FLASH_MB := 8
  167. DEVICE_PACKAGES := \
  168. $(USB2_PACKAGES) $(B43_PACKAGES)
  169. endef
  170. TARGET_DEVICES += A4001N
  171. define Device/A4001N1
  172. $(Device/bcm63xx)
  173. IMAGES += sysupgrade.bin
  174. DEVICE_TITLE := ADB P.DG A4001N1
  175. DEVICE_DTS := a4001n1
  176. CFE_BOARD_ID := 963281T_TEF
  177. CFE_CHIP_ID := 6328
  178. FLASH_MB := 16
  179. DEVICE_PACKAGES := \
  180. $(USB2_PACKAGES) $(B43_PACKAGES)
  181. endef
  182. TARGET_DEVICES += A4001N1
  183. ### Alcatel ###
  184. define Device/RG100A
  185. $(Device/bcm63xx)
  186. DEVICE_TITLE := Alcatel RG100A
  187. DEVICE_DTS := rg100a
  188. CFE_BOARD_ID := 96358VW2
  189. CFE_CHIP_ID := 6358
  190. BLOCK_SIZE := 0x20000
  191. DEVICE_PACKAGES := \
  192. $(USB2_PACKAGES) $(B43_PACKAGES)
  193. endef
  194. TARGET_DEVICES += RG100A
  195. ### Asmax ###
  196. define Device/AR1004G
  197. $(Device/bcm63xx)
  198. DEVICE_TITLE := Asmax AR 1004g
  199. DEVICE_DTS := rg100a
  200. CFE_BOARD_ID := 96348GW-10
  201. CFE_CHIP_ID := 6348
  202. DEVICE_PACKAGES := \
  203. $(B43_PACKAGES)
  204. endef
  205. TARGET_DEVICES += AR1004G
  206. ### Belkin ###
  207. define Device/F5D7633
  208. $(Device/bcm63xx)
  209. DEVICE_TITLE := Belkin F5D7633
  210. DEVICE_DTS := f5d7633
  211. CFE_BOARD_ID := 96348GW-10
  212. CFE_CHIP_ID := 6348
  213. BLOCK_SIZE := 0x20000
  214. DEVICE_PACKAGES := \
  215. $(B43_PACKAGES)
  216. endef
  217. TARGET_DEVICES += F5D7633
  218. ### Broadcom ###
  219. define Device/BCM96318REF
  220. $(Device/bcm63xx)
  221. IMAGES :=
  222. DEVICE_TITLE := Broadcom BCM96318REF reference board
  223. DEVICE_DTS := bcm96318ref
  224. CFE_BOARD_ID := 96318REF
  225. CFE_CHIP_ID := 6318
  226. DEVICE_PACKAGES := \
  227. $(B43_PACKAGES) $(USB2_PACKAGES) \
  228. kmod-bcm63xx-udc
  229. endef
  230. TARGET_DEVICES += BCM96318REF
  231. define Device/BCM96318REF_P300
  232. $(Device/bcm63xx)
  233. IMAGES :=
  234. DEVICE_TITLE := Broadcom BCM96318REF_P300 reference board
  235. DEVICE_DTS := bcm96318ref_p300
  236. CFE_BOARD_ID := 96318REF_P300
  237. CFE_CHIP_ID := 6318
  238. DEVICE_PACKAGES := \
  239. $(B43_PACKAGES) $(USB2_PACKAGES) \
  240. kmod-bcm63xx-udc
  241. endef
  242. TARGET_DEVICES += BCM96318REF_P300
  243. define Device/BCM963268BU_P300
  244. $(Device/bcm63xx)
  245. IMAGES :=
  246. DEVICE_TITLE := Broadcom BCM963268BU_P300 reference board
  247. DEVICE_DTS := bcm963268bu_p300
  248. CFE_BOARD_ID := 963268BU_P300
  249. CFE_CHIP_ID := 63268
  250. DEVICE_PACKAGES := \
  251. $(USB2_PACKAGES) \
  252. kmod-bcm63xx-udc
  253. endef
  254. TARGET_DEVICES += BCM963268BU_P300
  255. define Device/BCM963269BHR
  256. $(Device/bcm63xx)
  257. IMAGES :=
  258. DEVICE_TITLE := Broadcom BCM963269BHR reference board
  259. DEVICE_DTS := bcm963269bhr
  260. CFE_BOARD_ID := 963269BHR
  261. CFE_CHIP_ID := 63268
  262. DEVICE_PACKAGES := \
  263. $(USB2_PACKAGES) \
  264. kmod-bcm63xx-udc
  265. endef
  266. TARGET_DEVICES += BCM963269BHR
  267. ### BT ###
  268. define Device/HomeHub2A
  269. $(Device/bcm63xx)
  270. DEVICE_TITLE := BT Home Hub 2.0 A
  271. DEVICE_DTS := homehub2a
  272. CFE_BOARD_ID := HOMEHUB2A
  273. CFE_CHIP_ID := 6358
  274. BLOCK_SIZE := 0x20000
  275. DEVICE_PACKAGES := \
  276. $(B43_PACKAGES) $(USB2_PACKAGES)
  277. endef
  278. TARGET_DEVICES += HomeHub2A
  279. define Device/BTV2110
  280. $(Device/bcm63xx)
  281. DEVICE_TITLE := BT Voyager V2110
  282. DEVICE_DTS := v2110
  283. CFE_BOARD_ID := V2110
  284. CFE_CHIP_ID := 6348
  285. CFE_EXTRAS += --layoutver 5
  286. DEVICE_PACKAGES := \
  287. $(B43_PACKAGES)
  288. endef
  289. TARGET_DEVICES += BTV2110
  290. define Device/BTV2500V
  291. $(Device/bcm63xx)
  292. DEVICE_TITLE := BT Voyager V2500V
  293. DEVICE_DTS := v2500v-bb
  294. CFE_BOARD_ID := V2500V_BB
  295. CFE_CHIP_ID := 6348
  296. CFE_EXTRAS += --layoutver 5
  297. DEVICE_PACKAGES := \
  298. $(B43_PACKAGES)
  299. endef
  300. TARGET_DEVICES += BTV2500V
  301. ### Comtrend ###
  302. define Device/AR5381u
  303. $(Device/bcm63xx)
  304. IMAGES += sysupgrade.bin
  305. DEVICE_TITLE := Comtrend AR-5381u
  306. DEVICE_DTS := ar-5381u
  307. CFE_BOARD_ID := 96328A-1241N
  308. CFE_CHIP_ID := 6328
  309. FLASH_MB := 16
  310. DEVICE_PACKAGES := \
  311. $(B43_PACKAGES) $(USB2_PACKAGES)
  312. endef
  313. TARGET_DEVICES += AR5381u
  314. define Device/AR5387un
  315. $(Device/bcm63xx)
  316. IMAGES += sysupgrade.bin
  317. DEVICE_TITLE := Comtrend AR-5387un
  318. DEVICE_DTS := ar-5387un
  319. CFE_BOARD_ID := 96328A-1441N1
  320. CFE_CHIP_ID := 6328
  321. FLASH_MB := 16
  322. DEVICE_PACKAGES := \
  323. $(B43_PACKAGES) $(USB2_PACKAGES)
  324. endef
  325. TARGET_DEVICES += AR5387un
  326. define Device/CT-536_CT-5621
  327. $(Device/bcm63xx)
  328. DEVICE_TITLE := Comtrend CT-536+/CT-5621
  329. DEVICE_DTS := ct536plus
  330. CFE_BOARD_ID := 96348GW-11
  331. CFE_CHIP_ID := 6348
  332. DEVICE_PACKAGES := \
  333. $(B43_PACKAGES)
  334. endef
  335. TARGET_DEVICES += CT-536_CT-5621
  336. define Device/CT-5365
  337. $(Device/bcm63xx)
  338. DEVICE_TITLE := Comtrend CT-5365
  339. DEVICE_DTS := ct-5365
  340. CFE_BOARD_ID := 96348A-122
  341. CFE_CHIP_ID := 6348
  342. DEVICE_PACKAGES := \
  343. $(B43_PACKAGES)
  344. endef
  345. TARGET_DEVICES += CT-5365
  346. define Device/CT-6373
  347. $(Device/bcm63xx)
  348. DEVICE_TITLE := Comtrend CT-6373
  349. DEVICE_DTS := ct-6373
  350. CFE_BOARD_ID := CT6373-1
  351. CFE_CHIP_ID := 6358
  352. DEVICE_PACKAGES := \
  353. $(B43_PACKAGES) $(USB2_PACKAGES)
  354. endef
  355. TARGET_DEVICES += CT-6373
  356. define Device/VR-3025u
  357. $(Device/bcm63xx)
  358. IMAGES += sysupgrade.bin
  359. DEVICE_TITLE := Comtrend VR-3025u
  360. DEVICE_DTS := vr-3025u
  361. CFE_BOARD_ID := 96368M-1541N
  362. CFE_CHIP_ID := 6368
  363. BLOCK_SIZE := 0x20000
  364. FLASH_MB := 32
  365. DEVICE_PACKAGES := \
  366. $(B43_PACKAGES) $(USB2_PACKAGES)
  367. endef
  368. TARGET_DEVICES += VR-3025u
  369. define Device/VR-3025un
  370. $(Device/bcm63xx)
  371. DEVICE_TITLE := Comtrend VR-3025un
  372. DEVICE_DTS := vr-3025un
  373. CFE_BOARD_ID := 96368M-1341N
  374. CFE_CHIP_ID := 6368
  375. FLASH_MB := 8
  376. DEVICE_PACKAGES := \
  377. $(B43_PACKAGES) $(USB2_PACKAGES)
  378. endef
  379. TARGET_DEVICES += VR-3025un
  380. define Device/VR-3026e
  381. $(Device/bcm63xx)
  382. DEVICE_TITLE := Comtrend VR-3026e
  383. DEVICE_DTS := vr-3026e
  384. CFE_BOARD_ID := 96368MT-1341N1
  385. CFE_CHIP_ID := 6368
  386. FLASH_MB := 8
  387. DEVICE_PACKAGES := \
  388. $(B43_PACKAGES)
  389. endef
  390. TARGET_DEVICES += VR-3026e
  391. define Device/WAP-5813n
  392. $(Device/bcm63xx)
  393. DEVICE_TITLE := Comtrend WAP-5813n
  394. DEVICE_DTS := wap-5813n
  395. CFE_BOARD_ID := 96369R-1231N
  396. CFE_CHIP_ID := 6368
  397. FLASH_MB := 8
  398. DEVICE_PACKAGES := \
  399. $(B43_PACKAGES) $(USB2_PACKAGES)
  400. endef
  401. TARGET_DEVICES += WAP-5813n
  402. ### D-Link ###
  403. define Device/DSL2640B-B
  404. $(Device/bcm63xx)
  405. DEVICE_TITLE := D-Link DSL-2640B rev B2
  406. DEVICE_DTS := dsl-2640b-b
  407. CFE_BOARD_ID := D-4P-W
  408. CFE_CHIP_ID := 6348
  409. DEVICE_PACKAGES := \
  410. $(B43_PACKAGES)
  411. endef
  412. TARGET_DEVICES += DSL2640B-B
  413. define Device/DSL2640U
  414. $(Device/bcm63xx)
  415. DEVICE_TITLE := D-Link DSL-2640U/BRU/C
  416. DEVICE_DTS := dsl-2640u
  417. CFE_BOARD_ID := 96338W2_E7T
  418. CFE_CHIP_ID := 6338
  419. DEVICE_PACKAGES := \
  420. $(B43_PACKAGES)
  421. endef
  422. TARGET_DEVICES += DSL2640U
  423. define Device/DSL2650U
  424. $(Device/bcm63xx)
  425. DEVICE_TITLE := D-Link DSL-2650U
  426. DEVICE_DTS := dsl-2650u
  427. CFE_BOARD_ID := 96358VW2
  428. CFE_CHIP_ID := 6358
  429. DEVICE_PACKAGES := \
  430. $(B43_PACKAGES) $(USB2_PACKAGES)
  431. endef
  432. TARGET_DEVICES += DSL2650U
  433. define Device/DSL274XB-C2
  434. $(Device/bcm63xx)
  435. DEVICE_TITLE := D-Link DSL-2740B/DSL-2741B rev C2
  436. DEVICE_DTS := dsl-274xb-c
  437. CFE_BOARD_ID := 96358GW
  438. CFE_CHIP_ID := 6358
  439. DEVICE_PACKAGES := \
  440. $(B43_PACKAGES)
  441. endef
  442. TARGET_DEVICES += DSL274XB-C2
  443. define Device/DSL274XB-C3
  444. $(Device/bcm63xx)
  445. DEVICE_TITLE := D-Link DSL-2740B/DSL-2741B rev C3
  446. DEVICE_DTS := dsl-274xb-c
  447. CFE_BOARD_ID := AW4139
  448. CFE_CHIP_ID := 6358
  449. DEVICE_PACKAGES := \
  450. $(B43_PACKAGES)
  451. endef
  452. TARGET_DEVICES += DSL274XB-C3
  453. define Device/DSL274XB-F1
  454. $(Device/bcm63xx)
  455. DEVICE_TITLE := D-Link DSL-2740B/DSL-2741B rev F1
  456. DEVICE_DTS := dsl-274xb-f
  457. CFE_BOARD_ID := AW4339U
  458. CFE_CHIP_ID := 6328
  459. IMAGES := cfe-EU.bin cfe-AU.bin
  460. IMAGE/cfe-AU.bin := cfe-bin --signature2 "4.06.01.AUF1" --pad 4
  461. IMAGE/cfe-EU.bin := cfe-bin --signature2 "4.06.01.EUF1" --pad 4
  462. DEVICE_PACKAGES := \
  463. $(ATH9K_PACKAGES)
  464. endef
  465. TARGET_DEVICES += DSL274XB-F1
  466. define Device/DSL275XB-D1
  467. $(Device/bcm63xx)
  468. DEVICE_TITLE := D-Link DSL-2750B/DSL-2751 rev D1
  469. DEVICE_DTS := dsl-275xb-d
  470. CFE_BOARD_ID := AW5200B
  471. CFE_CHIP_ID := 6318
  472. FLASH_MB := 8
  473. DEVICE_PACKAGES := \
  474. $(B43_PACKAGES) $(USB2_PACKAGES)
  475. endef
  476. TARGET_DEVICES += DSL275XB-D1
  477. define Device/DVAG3810BN
  478. $(Device/bcm63xx)
  479. DEVICE_TITLE := D-Link DVA-G3810BN/TL
  480. DEVICE_DTS := dva-g3810bn_tl
  481. CFE_BOARD_ID := 96358VW
  482. CFE_CHIP_ID := 6358
  483. DEVICE_PACKAGES := \
  484. $(B43_PACKAGES) $(USB2_PACKAGES)
  485. endef
  486. TARGET_DEVICES += DVAG3810BN
  487. ### Davolink ###
  488. define Device/DV-201AMR
  489. $(Device/bcm63xx)
  490. IMAGES := cfe-old.bin
  491. DEVICE_TITLE := Davolink DV-201AMR
  492. DEVICE_DTS := dv-201amr
  493. CFE_BOARD_ID := DV201AMR
  494. CFE_CHIP_ID := 6348
  495. DEVICE_PACKAGES := \
  496. $(B43_PACKAGES)
  497. endef
  498. TARGET_DEVICES += DV-201AMR
  499. ### Dynalink ###
  500. define Device/RTA770BW
  501. $(Device/bcm63xx)
  502. IMAGES =
  503. DEVICE_TITLE := Dynalink RTA770BW (Siemens SE 515)
  504. DEVICE_DTS := rta770bw
  505. CFE_BOARD_ID := RTA770BW
  506. CFE_CHIP_ID := 6345
  507. CFE_EXTRAS += --layoutver 5
  508. DEVICE_PACKAGES := \
  509. $(B43_PACKAGES)
  510. endef
  511. TARGET_DEVICES += RTA770BW
  512. define Device/RTA770W
  513. $(Device/bcm63xx)
  514. IMAGES =
  515. DEVICE_TITLE := Dynalink RTA770W
  516. DEVICE_DTS := rta770w
  517. CFE_BOARD_ID := RTA770W
  518. CFE_CHIP_ID := 6345
  519. CFE_EXTRAS += --layoutver 5
  520. DEVICE_PACKAGES := \
  521. $(B43_PACKAGES)
  522. endef
  523. TARGET_DEVICES += RTA770W
  524. define Device/RTA1025W_16
  525. $(Device/bcm63xx)
  526. DEVICE_TITLE := Dynalink RTA1025W
  527. DEVICE_DTS := rta1025w
  528. CFE_BOARD_ID := RTA1025W_16
  529. CFE_CHIP_ID := 6348
  530. CFE_EXTRAS += --layoutver 5
  531. DEVICE_PACKAGES := \
  532. $(B43_PACKAGES)
  533. endef
  534. TARGET_DEVICES += RTA1025W_16
  535. define Device/RTA1320_16M
  536. $(Device/bcm63xx)
  537. DEVICE_TITLE := Dynalink RTA1320
  538. DEVICE_DTS := rta1320
  539. CFE_BOARD_ID := RTA1320_16M
  540. CFE_CHIP_ID := 6338
  541. CFE_EXTRAS += --layoutver 5
  542. endef
  543. TARGET_DEVICES += RTA1320_16M
  544. ### Huawei ###
  545. define Device/HG520v
  546. $(Device/bcm63xx)
  547. DEVICE_TITLE := Huawei EchoLife HG520v
  548. DEVICE_DTS := hg520v
  549. CFE_BOARD_ID := HW6358GW_B
  550. CFE_CHIP_ID := 6358
  551. CFE_EXTRAS += --rsa-signature "EchoLife_HG520v"
  552. DEVICE_PACKAGES := \
  553. $(B43_PACKAGES)
  554. endef
  555. TARGET_DEVICES += HG520v
  556. define Device/HG553
  557. $(Device/bcm63xx)
  558. DEVICE_TITLE := Huawei EchoLife HG553
  559. DEVICE_DTS := hg553
  560. CFE_BOARD_ID := HW553
  561. CFE_CHIP_ID := 6358
  562. CFE_EXTRAS += --rsa-signature "EchoLife_HG553" --tag-version 7
  563. BLOCK_SIZE := 0x20000
  564. DEVICE_PACKAGES := \
  565. $(B43_PACKAGES) $(USB2_PACKAGES)
  566. endef
  567. TARGET_DEVICES += HG553
  568. define Device/HG556a-A
  569. $(Device/bcm63xx)
  570. DEVICE_TITLE := Huawei EchoLife HG556a rev A
  571. DEVICE_DESCRIPTION = Build firmware images for Huawei HG556a version A (Atheros)
  572. DEVICE_DTS := hg556a-a
  573. CFE_BOARD_ID := HW556
  574. CFE_CHIP_ID := 6358
  575. CFE_EXTRAS += --rsa-signature "EchoLife_HG556a" --tag-version 8
  576. IMAGE_OFFSET := 0x20000
  577. DEVICE_PACKAGES := \
  578. $(ATH9K_PACKAGES) $(USB2_PACKAGES)
  579. endef
  580. TARGET_DEVICES += HG556a-A
  581. define Device/HG556a-B
  582. $(Device/bcm63xx)
  583. DEVICE_TITLE := Huawei EchoLife HG556a rev B
  584. DEVICE_DESCRIPTION = Build firmware images for Huawei HG556a version B (Atheros)
  585. DEVICE_DTS := hg556a-b
  586. CFE_BOARD_ID := HW556
  587. CFE_CHIP_ID := 6358
  588. CFE_EXTRAS += --rsa-signature "EchoLife_HG556a" --tag-version 8
  589. BLOCK_SIZE := 0x20000
  590. DEVICE_PACKAGES := \
  591. $(ATH9K_PACKAGES) $(USB2_PACKAGES)
  592. endef
  593. TARGET_DEVICES += HG556a-B
  594. define Device/HG556a-C
  595. $(Device/bcm63xx)
  596. DEVICE_TITLE := Huawei EchoLife HG556a rev C
  597. DEVICE_DESCRIPTION = Build firmware images for Huawei HG556a version C (Ralink)
  598. DEVICE_DTS := hg556a-c
  599. CFE_BOARD_ID := HW556
  600. CFE_CHIP_ID := 6358
  601. CFE_EXTRAS += --rsa-signature "EchoLife_HG556a" --tag-version 8
  602. BLOCK_SIZE := 0x20000
  603. DEVICE_PACKAGES := \
  604. $(RT28_PACKAGES) $(USB2_PACKAGES)
  605. endef
  606. TARGET_DEVICES += HG556a-C
  607. define Device/HG622
  608. $(Device/bcm63xx)
  609. IMAGES += sysupgrade.bin
  610. DEVICE_TITLE := Huawei EchoLife HG622
  611. DEVICE_DTS := hg622
  612. CFE_BOARD_ID := 96368MVWG_hg622
  613. CFE_CHIP_ID := 6368
  614. CFE_EXTRAS += --tag-version 7
  615. BLOCK_SIZE := 0x20000
  616. FLASH_MB := 16
  617. DEVICE_PACKAGES := \
  618. $(RT28_PACKAGES) $(USB2_PACKAGES)
  619. endef
  620. TARGET_DEVICES += HG622
  621. define Device/HG655b
  622. $(Device/bcm63xx)
  623. DEVICE_TITLE := Huawei EchoLife HG655b
  624. DEVICE_DTS := hg655b
  625. CFE_BOARD_ID := HW65x
  626. CFE_CHIP_ID := 6368
  627. CFE_EXTRAS += --tag-version 7
  628. IMAGE_OFFSET := 0x20000
  629. FLASH_MB := 8
  630. DEVICE_PACKAGES := \
  631. $(RT28_PACKAGES) $(USB2_PACKAGES)
  632. endef
  633. TARGET_DEVICES += HG655b
  634. ### Inteno ###
  635. define Device/VG50
  636. $(Device/bcm63xx)
  637. IMAGES :=
  638. DEVICE_TITLE := Inteno VG50 Multi-WAN CPE
  639. DEVICE_DTS := vg50
  640. CFE_BOARD_ID := VW6339GU
  641. CFE_CHIP_ID := 63268
  642. DEVICE_PACKAGES := \
  643. $(USB2_PACKAGES)
  644. endef
  645. TARGET_DEVICES += VG50
  646. ### Inventel ###
  647. define Device/livebox
  648. $(Device/bcm63xx_redboot)
  649. DEVICE_TITLE := Inventel Livebox 1
  650. DEVICE_DTS := livebox-blue-5g
  651. DEVICE_PACKAGES := \
  652. $(B43_PACKAGES) $(USB1_PACKAGES)
  653. endef
  654. TARGET_DEVICES += livebox
  655. ### Netgear ###
  656. define Device/CVG834G
  657. $(Device/bcm33xx)
  658. DEVICE_TITLE := Netgear CVG834G
  659. DEVICE_DTS := cvg834g
  660. HCS_MAGIC_BYTES := 0xa020
  661. HCS_REV_MIN := 0001
  662. HCS_REV_MAJ := 0022
  663. endef
  664. TARGET_DEVICES += CVG834G
  665. define Device/DG834GT_PN
  666. $(Device/bcm63xx)
  667. DEVICE_TITLE := Netgear DG834GT/PN
  668. DEVICE_DTS := dg834gtpn
  669. CFE_BOARD_ID := 96348GW-10
  670. CFE_CHIP_ID := 6348
  671. DEVICE_PACKAGES := \
  672. $(ATH5K_PACKAGES)
  673. endef
  674. TARGET_DEVICES += DG834GT_PN
  675. define Device/DG834GTv4
  676. $(Device/bcm63xx)
  677. IMAGES :=
  678. DEVICE_TITLE := Netgear DG834G v4
  679. DEVICE_DTS := dg834g_v4
  680. CFE_BOARD_ID := 96348W3
  681. CFE_CHIP_ID := 6348
  682. DEVICE_PACKAGES := \
  683. $(B43_PACKAGES)
  684. endef
  685. TARGET_DEVICES += DG834GTv4
  686. define Device/DGND3700v1
  687. $(Device/bcm63xx_netgear)
  688. IMAGES := factory.chk sysupgrade.bin
  689. DEVICE_TITLE := Netgear DGND3700 v1
  690. DEVICE_DTS := dgnd3700v1
  691. CFE_BOARD_ID := 96368MVWG
  692. CFE_CHIP_ID := 6368
  693. BLOCK_SIZE := 0x20000
  694. NETGEAR_BOARD_ID := U12L144T01_NETGEAR_NEWLED
  695. NETGEAR_REGION := 1
  696. DEVICE_PACKAGES := \
  697. $(B43_PACKAGES) $(USB2_PACKAGES)
  698. endef
  699. TARGET_DEVICES += DGND3700v1
  700. define Device/DGND3800B
  701. $(Device/bcm63xx_netgear)
  702. IMAGES := factory.chk sysupgrade.bin
  703. DEVICE_TITLE := Netgear DGND3800B
  704. DEVICE_DTS := dgnd3700v1
  705. CFE_BOARD_ID := 96368MVWG
  706. CFE_CHIP_ID := 6368
  707. BLOCK_SIZE := 0x20000
  708. NETGEAR_BOARD_ID := U12L144T11_NETGEAR_NEWLED
  709. NETGEAR_REGION := 1
  710. DEVICE_PACKAGES := \
  711. $(B43_PACKAGES) $(USB2_PACKAGES)
  712. endef
  713. TARGET_DEVICES += DGND3800B
  714. define Device/EVG2000
  715. $(Device/bcm63xx_netgear)
  716. IMAGES := factory.chk sysupgrade.bin
  717. DEVICE_TITLE := Netgear EVG2000
  718. DEVICE_DTS := evg2000
  719. CFE_BOARD_ID := 96369PVG
  720. CFE_CHIP_ID := 6368
  721. BLOCK_SIZE := 0x20000
  722. NETGEAR_BOARD_ID := U12H154T90_NETGEAR
  723. NETGEAR_REGION := 1
  724. DEVICE_PACKAGES := \
  725. $(B43_PACKAGES) $(USB2_PACKAGES)
  726. endef
  727. TARGET_DEVICES += EVG2000
  728. ### NuCom ###
  729. define Device/R5010UNv2
  730. $(Device/bcm63xx)
  731. IMAGES += sysupgrade.bin
  732. DEVICE_TITLE := NuCom R5010UN v2
  733. DEVICE_DTS := r5010unv2
  734. CFE_BOARD_ID := 96328ang
  735. CFE_CHIP_ID := 6328
  736. FLASH_MB := 16
  737. DEVICE_PACKAGES := \
  738. $(B43_PACKAGES)
  739. endef
  740. TARGET_DEVICES += R5010UNv2
  741. ### Pirelli ###
  742. define Device/A226G
  743. $(Device/bcm63xx)
  744. DEVICE_TITLE := Pirelli A226G
  745. DEVICE_DTS := a226g
  746. CFE_BOARD_ID := DWV-S0
  747. CFE_CHIP_ID := 6358
  748. CFE_EXTRAS += --signature2 IMAGE --tag-version 8
  749. DEVICE_PACKAGES := \
  750. $(B43_PACKAGES) $(USB2_PACKAGES)
  751. endef
  752. TARGET_DEVICES += A226G
  753. define Device/A226M
  754. $(Device/bcm63xx)
  755. DEVICE_TITLE := Pirelli A226M
  756. DEVICE_DTS := a226m
  757. CFE_BOARD_ID := DWV-S0
  758. CFE_CHIP_ID := 6358
  759. CFE_EXTRAS += --signature2 IMAGE --tag-version 8
  760. DEVICE_PACKAGES := \
  761. $(USB2_PACKAGES)
  762. endef
  763. TARGET_DEVICES += A226M
  764. define Device/A226M-FWB
  765. $(Device/bcm63xx)
  766. DEVICE_TITLE := Pirelli A226M-FWB
  767. DEVICE_DTS := a226m-fwb
  768. CFE_BOARD_ID := DWV-S0
  769. CFE_CHIP_ID := 6358
  770. CFE_EXTRAS += --signature2 IMAGE --tag-version 8
  771. BLOCK_SIZE := 0x20000
  772. DEVICE_PACKAGES := \
  773. $(USB2_PACKAGES)
  774. endef
  775. TARGET_DEVICES += A226M-FWB
  776. define Device/AGPF-S0
  777. $(Device/bcm63xx)
  778. DEVICE_TITLE := Pirelli Alice Gate VoIP 2 Plus Wi-Fi AGPF-S0
  779. DEVICE_DTS := agpf-s0
  780. CFE_BOARD_ID := AGPF-S0
  781. CFE_CHIP_ID := 6358
  782. CFE_EXTRAS += --signature2 IMAGE --tag-version 8
  783. BLOCK_SIZE := 0x20000
  784. DEVICE_PACKAGES := \
  785. $(B43_PACKAGES) $(USB2_PACKAGES)
  786. endef
  787. TARGET_DEVICES += AGPF-S0
  788. ### Sagem ###
  789. define Device/FAST2404
  790. $(Device/bcm63xx)
  791. DEVICE_TITLE := Sagem F@ST2404
  792. DEVICE_DTS := fast2404
  793. CFE_BOARD_ID := F@ST2404
  794. CFE_CHIP_ID := 6348
  795. DEVICE_PACKAGES := \
  796. $(B43_PACKAGES)
  797. endef
  798. TARGET_DEVICES += FAST2404
  799. define Device/FAST2504n
  800. $(Device/bcm63xx)
  801. DEVICE_TITLE := Sagem F@ST2504n
  802. DEVICE_DTS := fast2504n
  803. CFE_BOARD_ID := F@ST2504n
  804. CFE_CHIP_ID := 6362
  805. DEVICE_PACKAGES := \
  806. $(B43_PACKAGES)
  807. endef
  808. TARGET_DEVICES += FAST2504n
  809. define Device/FAST2604
  810. $(Device/bcm63xx)
  811. DEVICE_TITLE := Sagem F@ST2604
  812. DEVICE_DTS := fast2604
  813. CFE_BOARD_ID := F@ST2604
  814. CFE_CHIP_ID := 6348
  815. DEVICE_PACKAGES := \
  816. $(B43_PACKAGES)
  817. endef
  818. TARGET_DEVICES += FAST2604
  819. define Device/FAST2704N
  820. $(Device/bcm63xx)
  821. DEVICE_TITLE := Sagem F@ST2704N
  822. DEVICE_DTS := fast2704n
  823. CFE_BOARD_ID := F@ST2704N
  824. CFE_CHIP_ID := 6318
  825. FLASH_MB := 8
  826. DEVICE_PACKAGES := \
  827. $(B43_PACKAGES) $(USB2_PACKAGES)
  828. endef
  829. TARGET_DEVICES += FAST2704N
  830. define Device/FAST2704V2
  831. $(Device/bcm63xx)
  832. DEVICE_TITLE := Sagem F@ST2704V2
  833. DEVICE_DTS := fast2704v2
  834. CFE_BOARD_ID := F@ST2704V2
  835. CFE_CHIP_ID := 6328
  836. FLASH_MB := 8
  837. DEVICE_PACKAGES := \
  838. $(B43_PACKAGES) $(USB2_PACKAGES)
  839. endef
  840. TARGET_DEVICES += FAST2704V2
  841. ### SFR ###
  842. define Device/NEUFBOX4-SER
  843. $(Device/bcm63xx)
  844. DEVICE_TITLE := SFR Neufbox4 (Sercomm)
  845. DEVICE_DTS := nb4-ser-r0
  846. CFE_BOARD_ID := 96358VW
  847. CFE_CHIP_ID := 6358
  848. CFE_EXTRAS += --rsa-signature "LEDE-$(REVISION)"
  849. DEVICE_PACKAGES := \
  850. $(B43_PACKAGES) $(USB2_PACKAGES)
  851. endef
  852. TARGET_DEVICES += NEUFBOX4-SER
  853. define Device/NEUFBOX4-FXC
  854. $(Device/bcm63xx)
  855. DEVICE_TITLE := SFR Neufbox4 (Foxconn)
  856. DEVICE_DTS := nb4-fxc-r1
  857. CFE_BOARD_ID := 96358VW
  858. CFE_CHIP_ID := 6358
  859. CFE_EXTRAS += --rsa-signature "LEDE-$(REVISION)"
  860. DEVICE_PACKAGES := \
  861. $(B43_PACKAGES) $(USB2_PACKAGES)
  862. endef
  863. TARGET_DEVICES += NEUFBOX4-FXC
  864. define Device/NEUFBOX6
  865. $(Device/bcm63xx)
  866. DEVICE_TITLE := SFR Neufbox6
  867. DEVICE_DTS := nb6-ser-r0
  868. CFE_BOARD_ID := NB6-SER-r0
  869. CFE_CHIP_ID := 6362
  870. CFE_EXTRAS += --rsa-signature "LEDE-$(REVISION)"
  871. DEVICE_PACKAGES := \
  872. $(B43_PACKAGES) $(USB2_PACKAGES)
  873. endef
  874. TARGET_DEVICES += NEUFBOX6
  875. ### T-Com ###
  876. define Device/SPW303V
  877. $(Device/bcm63xx)
  878. IMAGES := factory.bin sysupgrade.bin
  879. IMAGE/factory.bin := cfe-spw303v-bin --pad 4 | spw303v-bin | xor-image
  880. IMAGE/sysupgrade.bin := cfe-spw303v-bin | spw303v-bin
  881. DEVICE_TITLE := T-Com Speedport W 303V
  882. DEVICE_DTS := spw303v
  883. CFE_BOARD_ID := 96358-502V
  884. CFE_CHIP_ID := 6358
  885. DEVICE_PACKAGES := \
  886. $(B43_PACKAGES)
  887. endef
  888. TARGET_DEVICES += SPW303V
  889. define Device/SPW500V
  890. $(Device/bcm63xx)
  891. DEVICE_TITLE := T-Com Speedport W 500V
  892. DEVICE_DTS := spw500v
  893. CFE_BOARD_ID := 96348GW
  894. CFE_CHIP_ID := 6348
  895. DEVICE_PACKAGES := \
  896. $(B43_PACKAGES)
  897. endef
  898. TARGET_DEVICES += SPW500V
  899. ### Tecom ###
  900. define Device/GW6000
  901. $(Device/bcm63xx)
  902. DEVICE_TITLE := Tecom GW6000
  903. DEVICE_DTS := gw6000
  904. CFE_BOARD_ID := 96348GW
  905. CFE_CHIP_ID := 6348
  906. DEVICE_PACKAGES := \
  907. $(BRCMWL_PACKAGES) $(USB1_PACKAGES)
  908. endef
  909. TARGET_DEVICES += GW6000
  910. define Device/GW6200
  911. $(Device/bcm63xx)
  912. DEVICE_TITLE := Tecom GW6200
  913. DEVICE_DTS := gw6200
  914. CFE_BOARD_ID := 96348GW
  915. CFE_CHIP_ID := 6348
  916. CFE_EXTRAS += --rsa-signature "$(shell printf '\x99')"
  917. DEVICE_PACKAGES := \
  918. $(BRCMWL_PACKAGES) $(USB1_PACKAGES)
  919. endef
  920. TARGET_DEVICES += GW6200
  921. ### Telsey ###
  922. define Device/CVPA502PLUS
  923. $(Device/bcm63xx)
  924. IMAGES :=
  925. DEVICE_TITLE := Telsey CPVA502+
  926. DEVICE_DTS := cpva502plus
  927. CFE_BOARD_ID := CPVA502+
  928. CFE_CHIP_ID := 6348
  929. CFE_EXTRAS += --signature "Telsey Tlc" --signature2 "99.99.999" --second-image-flag "0"
  930. DEVICE_PACKAGES := \
  931. $(B43_PACKAGES)
  932. endef
  933. TARGET_DEVICES += CVPA502PLUS
  934. define Device/CPA-ZNTE60T
  935. $(Device/bcm63xx)
  936. DEVICE_TITLE := Telsey CPVA642-type (CPA-ZNTE60T)
  937. DEVICE_DTS := cpva642
  938. CFE_BOARD_ID := CPVA642
  939. CFE_CHIP_ID := 6358
  940. CFE_EXTRAS += --signature "Telsey Tlc" --signature2 "99.99.999" --second-image-flag "0"
  941. FLASH_MB := 8
  942. DEVICE_PACKAGES := \
  943. $(RT63_PACKAGES) $(USB2_PACKAGES)
  944. endef
  945. TARGET_DEVICES += CPA-ZNTE60T
  946. define Device/MAGIC
  947. $(Device/bcm63xx)
  948. IMAGES :=
  949. DEVICE_TITLE := Telsey MAGIC (Alice W-Gate)
  950. DEVICE_DTS := magic
  951. CFE_BOARD_ID := MAGIC
  952. CFE_CHIP_ID := 6348
  953. DEVICE_PACKAGES := \
  954. $(RT63_PACKAGES)
  955. endef
  956. TARGET_DEVICES += MAGIC
  957. ### TP-Link ###
  958. define Device/TD-W8900GB
  959. $(Device/bcm63xx)
  960. DEVICE_TITLE := TP-Link TD-W8900GB
  961. DEVICE_DTS := td-w8900gb
  962. CFE_BOARD_ID := 96348GW-11
  963. CFE_CHIP_ID := 6348
  964. CFE_EXTRAS += --rsa-signature "$(shell printf 'PRID\x89\x10\x00\x02')"
  965. IMAGE_OFFSET := 0x20000
  966. DEVICE_PACKAGES := \
  967. $(B43_PACKAGES)
  968. endef
  969. TARGET_DEVICES += TD-W8900GB
  970. ### USRobotics ###
  971. define Device/USR9108
  972. $(Device/bcm63xx)
  973. DEVICE_TITLE := USRobotics 9108
  974. DEVICE_DTS := usr9108
  975. CFE_BOARD_ID := 96348GW-A
  976. CFE_CHIP_ID := 6348
  977. DEVICE_PACKAGES := \
  978. $(B43_PACKAGES) $(USB1_PACKAGES)
  979. endef
  980. TARGET_DEVICES += USR9108
  981. ### ZyXEL ###
  982. define Device/P870HW-51a_v2
  983. $(Device/bcm63xx)
  984. IMAGES := factory.bin
  985. IMAGE/factory.bin := cfe-bin | zyxel-bin
  986. DEVICE_TITLE := ZyXEL P870HW-51a v2
  987. DEVICE_DTS := p870hw-51a-v2
  988. CFE_BOARD_ID := 96368VVW
  989. CFE_CHIP_ID := 6368
  990. CFE_EXTRAS += --rsa-signature "ZyXEL" --signature "ZyXEL_0001"
  991. DEVICE_PACKAGES := \
  992. $(B43_PACKAGES)
  993. endef
  994. TARGET_DEVICES += P870HW-51a_v2