rework of mask ioopen() addition of jetsonnano and rockpro64

This commit is contained in:
Edward Kisiel
2022-05-13 20:28:25 -04:00
parent 95ff3e7091
commit c9e9acf10a
6 changed files with 478 additions and 111 deletions

View File

@@ -52,7 +52,7 @@
component classes and types:
memory - emmc, emmc_plug, sodimm_5.2, sodimm_9.2
switch - slide_4x9
button - momentary_6x6x9, momentary_6x6x4
button - momentary_6x6x9, momentary_6x6x4, momentary_6x6x4_90
plug - pwr5.5_7.5x11.5, pwr2.5_5x7.5, rtc_micro, uart_micro, molex_4x1, small_encl_satapwr
usb2 - single_vert_a, double_stacked_a, micro
usb3 - double_stacked_a
@@ -68,6 +68,8 @@
jumper - header_2x1, header_5x1, header_7x1
misc - ir_1, batt_hold_1
heatsink - xu4_oem, xu4q_oem, c1+_oem, c2_oem, c4_oem, hc4_oem, n2_oem, h2_oem
pcie - x4
jst_ph - number of pins from 2-16
sbc models "c1+","c2","c4","xu4","xu4q","mc1","hc1","hc4","n1","n2","n2+","h2","rpi3b+","a64","rock64","rockpro64","atomicpi","jetsonnano"
*/
@@ -151,7 +153,7 @@ sbc_data = [
36.8,1.34,0,"bottom","memory","emmc", // emmc location, rotation, side, class and type
39.5,39.8,180,"bottom","storage","sdcard_i", // sdcard location, rotation, side, class and type
19.75,-1,0,"top","usb2","micro", // usb2 otg location, rotation, side, class and type
38.5,-1,1,"top","video","hdmi_a", // hdmi location, rotation, side, class and type
38.5,-1,0,"top","video","hdmi_a", // hdmi location, rotation, side, class and type
6.75,-1,0,"top","plug","pwr5.5_7.5x11.5", // pwrplug location, rotation, side, class and type
65.765,2,270,"top","network","rj45_single", // ethernet location, rotation, side, class and type
70,40,270,"top","usb3","double_stacked_a", // usb3 location, rotation, side, class and type
@@ -353,8 +355,8 @@ sbc_data = [
0,0,0,0,0,0,0,"", // soc4 size, location, rotation and side
0,0,0,0,0,0,0,"", // soc4 size, location, rotation and side
2.35,-1,0,"top","plug","pwr5.5_7.5x11.5", // power plug location, rotation, side, class and type
18,0,0,"top","usb3","double_stacked_a", // usb3 location, rotation, side, class and type
36,0,0,"top","usb3","double_stacked_a", // usb3 location, rotation, side, class and type
18,0,0,"top","usb3","double_stacked_a", // usb3 location, rotation, side, class and type
36,0,0,"top","usb3","double_stacked_a", // usb3 location, rotation, side, class and type
54.5,-1,0,"top","video","hdmi_a", // hdmi location, rotation, side, class and type
71.75,0,0,"top","network","rj45_single", // ethernet location, rotation, side, class and type
83.96,32.1,90,"top","gpio","header_40", // gpio location, rotation, side, class and type
@@ -470,7 +472,7 @@ sbc_data = [
7.3,-1,0,"top","plug","pwr5.5_7.5x11.5", // pwrplug location, rotation, side, class and type
36,-1,0,"top","usb2","single_vert_a", // usb2 location, rotation, side, class and type
67,-1,0,"top","network","rj45_single", // ethernet location, rotation, side, class and type
84.7,38.55,-90,"top","plug","uart_micro", // uart location, rotation, side, class and type
84.7,38.55,270,"top","plug","uart_micro", // uart location, rotation, side, class and type
75.3,79.45,180,"top","misc","ir_1", // ir location, rotation, side, class and type
85.25,53,90,"top","jumper","header_5x1", // jumper location, rotation, side, class and type
34.65,74.85,0,"bottom","button","momentary_6x6x4", // boot button location, rotation, side, class and type
@@ -497,8 +499,8 @@ sbc_data = [
0,0,0,0,0,0,0,"", // soc3 size, location, rotation and side
0,0,0,0,0,0,0,"", // soc4 size, location, rotation and side
7.5,44,180,"top","usb2","micro", // usb2 otg location, rotation, side, class and type
2,8.83,-90,"top","jumper","header_6x1", // jumper location, rotation, side, class and type
15.5,42,-90,"top","jumper","header_2x1", // jumper location, rotation, side, class and type
2,8.83,270,"top","jumper","header_6x1", // jumper location, rotation, side, class and type
15.5,42,270,"top","jumper","header_2x1", // jumper location, rotation, side, class and type
2,35,0,"top","jumper","header_3x2", // jumper location, rotation, side, class and type
2,25.5,270,"top","plug","rtc_micro", // battery location, rotation, side, class and type
7.65,2,90,"top","switch","slide_4x9", // switch location, rotation, side, class and type
@@ -524,7 +526,7 @@ sbc_data = [
0,0,0,0,0,0,0,"", // soc4 size, location, rotation and side
0,0,0,"","",""], // component location, rotation, side, class and type
// Pine64 SBC's
// Pine64 SBCs
["a64",127,79,1.6,3.5,0,0, // sbc model, pcb size and component height
4.5,4,3.3,122.5,4,3.3, // pcb holes 1 and 2 location and pcb hole size
4.5,75,3.3,122.5,75,3.3, // pcb holes 3 and 4 location and pcb hole size
@@ -549,18 +551,34 @@ sbc_data = [
0,0,0,0,0,0,0,"", // soc4 size, location, rotation and side
0,0,0,"","",""], // component, location, rotation, side, class and type
["rockpro64",127,79.5,2,3.5,0,0, // sbc model, pcb size and component height
4.5,4.25,3.25,122.5,4.25,3.25, // pcb holes 1 and 2 location and pcb hole size
4.5,75.25,3.25,122.5,75.25,3.25, // pcb holes 3 and 4 location and pcb hole size
["rockpro64",127,79.5,2,3.5,17,8, // sbc model, pcb size and component height
4.5,4.25,3.25,4.5,75.25,3.25, // pcb holes 1 and 2 location and pcb hole size
122.5,4.25,3.25,122.5,75.25,3.25, // pcb holes 3 and 4 location and pcb hole size
45.5,67.4,3.25,87,25.6,3.25, // pcb holes 5 and 6 location and pcb hole size
0,0,0,0,0,0, // pcb holes 7 and 8 location and pcb hole size
0,0,0,0,0,0, // pcb holes 9 and 10 location and pcb hole size
0,0,0,0,0,0,0,"", // soc1 size, location, rotation and side
21,21,1.5,48,47.3,0,45,"top", // soc1 size, location, rotation and side
0,0,0,0,0,0,0,"", // soc2 size, location, rotation and side
0,0,0,0,0,0,0,"", // soc3 size, location, rotation and side
0,0,0,0,0,0,0,"", // soc4 size, location, rotation and side
0,0,0,"","",""], // component, location, rotation, side, class and type
-1.5,12,90,"top","plug","pwr5.5_7.5x11.5", // component, location, rotation, side, class and type
-1.5, 32, 90, "top", "network", "rj45_single", // rj45 ethernet port
-1.5, 52.4, 90, "top", "video", "hdmi_a", // hdmi port
114.4, 9.8, 270, "top", "audio", "jack_3.5", // audio jack
118, 19.5, 270, "top", "button", "momentary_6x6x4_90", // Power button
118, 28.5, 270, "top", "button", "momentary_6x6x4_90", // Reset button
112, 38.7, 270, "top", "usb2", "double_stacked_a", // USB-2 stack
112, 55, 270, "top", "usb3", "double_stacked_a", // USB-3 / USB-C stack
13.6, 73.4, 0, "top", "button", "momentary_4x2x1", // recover button
42.6, 73.4, 0, "top", "gpio", "header_40", // gpio
43.5, 0, 0, "top", "pcie", "x4", // pcie x4 port
98.9, 14.7, 0, "top", "memory", "emmc_plug", // mmc port
97.2, 0, 0, "bottom", "storage", "sdcard", // micro sdcard
94.6, 73.4, 0, "top", "jst_ph", 2, // fan header
101.4, 73.4, 0, "top", "jst_ph", 3, // SPDIF header
110.3, 73.4, 0, "top", "jst_ph", 2, // rtc header
10.6, 13.2, 270, "top", "jst_ph", 4], // sata dc out
["atomicpi",130.44,99.9,1.63,3,14,8, // sbc model, pcb size and component height
4.22,3.95,3,126.22,3.95,3, // pcb holes 1 and 2 location and pcb hole size
126.22,95.95,3,4.22,95.95,3, // pcb holes 3 and 4 location and pcb hole size
@@ -573,7 +591,7 @@ sbc_data = [
0,0,0,0,0,0,0,"", // soc4 size, location, rotation and side
0,0,0,"","",""], // component, location, rotation, side, class and type
["jetsonnano",100,80,1.63,.2,19,3, // sbc model, pcb size and component height
["jetsonnano",100,80,1.63,.2,27,3, // sbc model, pcb size and component height
4,17,3,4,75,3, // pcb holes 1 and 2 location and pcb hole size
90,17,3,90,75,3, // pcb holes 3 and 4 location and pcb hole size
16,75,3,80,75,3, // pcb holes 5 and 6 location and pcb hole size
@@ -583,5 +601,79 @@ sbc_data = [
0,0,0,0,0,0,0,"", // soc2 size, location, rotation and side
0,0,0,0,0,0,0,"", // soc3 size, location, rotation and side
0,0,0,0,0,0,0,"", // soc4 size, location, rotation and side
2,-1,0,"top","plug","pwr5.5_7.5x11.5", // power plug location, rotation, side, class and type
14,-1,0,"top","video","dp-hdmi_a", // hdmi location, rotation, side, class and type
36,0,0,"top","usb3","double_stacked_a", // usb3 location, rotation, side, class and type
53,0,0,"top","usb3","double_stacked_a", // usb3 location, rotation, side, class and type
68.5,0,0,"top","network","rj45_single", // ethernet location, rotation, side, class and type
88,-1,0,"top","usb2","micro", // otg location, rotation, side, class and type
29,53,0,"top","ic","ic_9x9", // hub size, location, rotation and side
2,36,90,"top","video","mipi_csi", // mipi_csi location, rotation, side, class and type
72,45,90,"top","storage","m.2_header", // m.2 header location, rotation, side, class and type
44,57,0,"top","storage","m.2_stud", // m.2 stud location, rotation, side, class and type
11.5,30,180,"top","cm_holder","jetsonnano", // cm holder location, rotation, side, class and type
13,33,0,"top","cm","jetsonnano", // cm location, rotation, side, class and type
87.5,20,90,"top","gpio","header_40", // gpio location, rotation, side, class and type
72,24,0,"top","jumper","header_2x1", // jumper location, rotation, side, class and type
77,24,0,"top","jumper","header_2x1", // jumper location, rotation, side, class and type
.5,30,0,"top","jumper","header_2x1", // jumper location, rotation, side, class and type
.5,68.25,0,"top","jumper","header_2x1", // jumper location, rotation, side, class and type
.5,65.5,0,"top","jumper","header_2x1", // jumper location, rotation, side, class and type
.5,62.75,0,"top","jumper","header_2x1", // jumper location, rotation, side, class and type
.5,60,0,"top","jumper","header_2x1", // jumper location, rotation, side, class and type
93,72.5,90,"top","jumper","header_2x1", // jumper location, rotation, side, class and type
95.75,72.5,90,"top","jumper","header_2x1", // jumper location, rotation, side, class and type
8,62,90,"top","jumper","header_6x1"], // jumper location, rotation, side, class and type
["test",127,79,1.6,3.5,17,6, // sbc model, pcb size and component height
4.5,4,3.3,122.5,4,3.3, // pcb holes 1 and 2 location and pcb hole size
4.5,75,3.3,122.5,75,3.3, // pcb holes 3 and 4 location and pcb hole size
0,0,0,0,0,0, // pcb holes 5 and 6 location and pcb hole size
0,0,0,0,0,0, // pcb holes 7 and 8 location and pcb hole size
0,0,0,0,0,0, // pcb holes 9 and 10 location and pcb hole size
0,0,0,0,0,0,0,"", // soc1 size, location, rotation and side
0,0,0,0,0,0,0,"", // soc2 size, location, rotation and side
0,0,0,0,0,0,0,"", // soc3 size, location, rotation and side
0,0,0,0,0,0,0,"", // soc4 size, location, rotation and side
10, -1.5, 0, "top", "video", "hdmi_a", // hdmi port
-1.5, 30, 90, "top", "video", "hdmi_a", // hdmi port
10, 69, 180, "top", "video", "hdmi_a", // hdmi port
117, 30, 270, "top", "video", "hdmi_a", // hdmi port
30, -1, 0, "top", "usb2", "micro", // usb2 micro port
-1, 10, 90, "top", "usb2", "micro", // usb2 micro port
30, 75.5, 180, "top", "usb2", "micro", // usb2 micro port
123.5, 10, 270, "top", "usb2", "micro", // usb2 micro port
// 50, -1, 0, "top", "plug", "pwr5.5_7.5x11.5", // pwr5.5_7.5x11.5
// -1, 2, 90, "top", "plug", "pwr5.5_7.5x11.5", // pwr5.5_7.5x11.5
// 50, 69, 180, "top", "plug", "pwr5.5_7.5x11.5", // pwr5.5_7.5x11.5
// 116.5, 2, 270, "top", "plug", "pwr5.5_7.5x11.5", // pwr5.5_7.5x11.5
// 50, -1, 0, "top", "plug", "pwr2.5_5x7.5", // pwr5.5_7.5x11.5
// -1, 2, 90, "top", "plug", "pwr2.5_5x7.5", // pwr5.5_7.5x11.5
// 50, 72.5, 180, "top", "plug", "pwr2.5_5x7.5", // pwr5.5_7.5x11.5
// 120.5, 2, 270, "top", "plug", "pwr2.5_5x7.5", // pwr5.5_7.5x11.5
// 50, -1, 0, "top", "plug", "pwr5.5_10x10", // pwr5.5_10x10
// -1, 2, 90, "top", "plug", "pwr5.5_10x10", // pwr5.5_10x10
// 50, 67, 180, "top", "plug", "pwr5.5_10x10", // pwr5.5_10x10
// 114.5, 2, 270, "top", "plug", "pwr5.5_10x10", // pwr5.5_10x10
// 60, -1, 0, "top", "network", "rj45_single", // rj45_single
// -1, 47, 90, "top", "network", "rj45_single", // rj45_single
// 60, 59, 180, "top", "network", "rj45_single", // rj45_single
// 107, 50, 270, "top", "network", "rj45_single", // rj45_single
// 80, -1, 0, "top", "usb2", "double_stacked_a", // double_stacked_a
// -1, 47, 90, "top", "usb2", "double_stacked_a", // double_stacked_a
// 80, 63, 180, "top", "usb2", "double_stacked_a", // double_stacked_a
// 110.5, 50, 270, "top", "usb2", "double_stacked_a", // double_stacked_a
100, -1, 0, "top", "usb2", "single_vert_a", // single_vert_a
-1, 67, 90, "top", "usb2", "single_vert_a", // single_vert_a
60, 61, 180, "top", "usb2", "single_vert_a", // single_vert_a
108.5, 67, 270, "top", "usb2", "single_vert_a", // single_vert_a
0,0,0,"","",""] // component, location, rotation, side, class and type
];