Baseboard ID: Difference between revisions

From embeddedTS Manuals
No edit summary
(Fixed typo)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
All of our default baseboards contain a hard wired 3-state 8-input multiplexers.  This is not required to implement in custom baseboards, but it can be useful to identify the board in software.  During startup of the macrocontroller 4 DIO are used to obtain the baseboard model idThe red LED (CN2_06) is state 0, green LED (CN2_08) is state 1, BUS_DIR (CN1_98), and BD_ID_DATA (CN1_83) are used for this purpose.
All of our off the shelf baseboards contain a hard-wired 8-input multiplexer to indicate the baseboard model.  This is not required to implement in custom baseboards, but it can be useful to identify the board model in software.  The baseboard model is determined in the bootloader and the proper device tree is selected for the respective baseboard.  For the TS-TPC-8390-4900 with a quad core cpu, this would load imx6q-ts4900-2.dtb.  A solo TS-4900 on a TS-TPC-8950 woudl be imx6dl-ts4900-14.dtb.  In u-boot the device tree ids are specified in hex, so 0x14 will match device tree 20.  If a board does not have a specific device tree, it will fall back to the TS-8550 device tree which is imx6{q,dl}-ts4900.dtb.  The TS-8550 itself does not have a device tree at imx6{q,dl}-ts4900-13.dtb.


{|class=wikitable
4 DIO pins are used to obtain the baseboard model ID.  The red LED (CN2_06), green LED (CN2_08), BUS_DIR (CN1_98), and BD_ID_DATA (CN1_83) are used for this purpose.  All of these IO pins can be used normally outside of acquiring the ID number.
|+ TS-Baseboard IDs
! ID
! Baseboard
|-
| 2
| [[TS-TPC-8390]]
|-
| 6
| [[TS-8160]]
|-
| 7
| [[TS-8100]]
|-
| 10
| [[TS-TPC-8900]]
|-
| 255
| [[TS-8200]]
|}




[[File:BoardID.png|right|360px|thumb|TS-8160 baseboard ID resulting in ID 6.]]
The 6 least significant input pins (Y0 - Y5) are used to define the baseboard model.  The upper two inputs (Y6 and Y7) define board revision.
 
For custom baseboards we have reserved the address 42 which will never be used by our standard products.
 
[[File:BoardID.png|360px|thumb|TS-8160 baseboard ID resulting in ID 6, rev 0.]]

Latest revision as of 18:32, 13 February 2018

All of our off the shelf baseboards contain a hard-wired 8-input multiplexer to indicate the baseboard model. This is not required to implement in custom baseboards, but it can be useful to identify the board model in software. The baseboard model is determined in the bootloader and the proper device tree is selected for the respective baseboard. For the TS-TPC-8390-4900 with a quad core cpu, this would load imx6q-ts4900-2.dtb. A solo TS-4900 on a TS-TPC-8950 woudl be imx6dl-ts4900-14.dtb. In u-boot the device tree ids are specified in hex, so 0x14 will match device tree 20. If a board does not have a specific device tree, it will fall back to the TS-8550 device tree which is imx6{q,dl}-ts4900.dtb. The TS-8550 itself does not have a device tree at imx6{q,dl}-ts4900-13.dtb.

4 DIO pins are used to obtain the baseboard model ID. The red LED (CN2_06), green LED (CN2_08), BUS_DIR (CN1_98), and BD_ID_DATA (CN1_83) are used for this purpose. All of these IO pins can be used normally outside of acquiring the ID number.


The 6 least significant input pins (Y0 - Y5) are used to define the baseboard model. The upper two inputs (Y6 and Y7) define board revision.

For custom baseboards we have reserved the address 42 which will never be used by our standard products.

TS-8160 baseboard ID resulting in ID 6, rev 0.