Skip to contentSkip to conversation

board: rockchip: Add for 9Tripod X3568 v4

PATCH Superseded Coia Prant 2 participants 3 messages Jun 25 – Jul 9 Arm Rockchip

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Coia Prant

author
#0 lore raw

PATCH v2 1/1 board: rockchip: Add for 9Tripod X3568 v4

The 9Tripod X3568 v4 is an RK3568-based SBC, just like the RK3568-EVB. It always uses soldered connections between the X3568CV2/X3568CV3/X3568CV4 core board and the X3568bv4 I/O board.

The differences between the core boards
- PCB size, layout
- CPU (RKK3568B2/RK3568J)
- Memory type (DDR4/LPDDR4/LPDDR4X) and size
- eMMC size
- DSI/EDP resistor values
Although the components vary, they maintain full compatibility.

The X3568 board has multiple hardware revisions, and we currently support v4 (I/O board).

Specification:
- SoC: RockChip RK3568 ARM64 (4 cores)
- eMMC: 16-128 GB
- RAM: 2-16 GB
- Power: DC 12V 2A
- Ethernet: 2x YT8521SC RGMII (10/100/1000 Mbps)
- Wireless radio: 802.11b/g/n/ac/ax dual-band
- LED:
Power: AlwaysOn
User: GPIO
- Button:
VOL+: SARADC/0 <35k µV>
VOL-: SARADC/0 <450k µV>
Power/Reset: PMIC RK809
- CAN
CAN/1: 4-pin (PH 2.0)
- PWM
PWM/4: Backlight DSI/0 DSI/1
PWM/7: IR Receiver [may not install]
- UART:
UART/2: Debug TTL - 1500000 8N1 (1.25mm)
UART/3: TTL (PH 2.0)
UART/4: TTL (PH 2.0)
UART/8: AP6275S Bluetooth
UART/9: TTL (PH 2.0)
- I2C:
I2C/0: PMIC RK809
I2C/1: Touchscreen DSI/0 DSI/1
I2C/4: Camera
I2C/5: RTC@51 PCF8563
- I2S:
I2S/0: miniHDMI Sound
I2S/1: RK809 Audio Codec
I2S/3: AP6275S Bluetooth Sound
- SDMMC:
SDMMC/0: microSD (TF) slot
SDMMC/2: AP6275S SDIO WiFi card
- Camera: 1x CSI
- Video: miniHDMI / DSI0 (MIPI/LVDS) / DSI1 (MIPI/EDP)
- Audio: miniHDMI / MIC on-board / Speaker / SPDIF / 3.5mm Headphones / AP6275S Bluetooth
- USB:
USB 2.0 HOST x2
USB 2.0 HOST x3 (4-pin)
USB 2.0 OTG x1 (shared with USB 3.0 OTG/HOST) [slot may not install]
USB 3.0 HOST x1
USB 3.0 OTG/HOST x1
- SATA: 1x SATA 3.0 with Power/4-pin [slot may not install]
- PCIe: 1x PCIe 3.0 x2 (x4 connecter) [power/clock/slot may not install]

Link:
- https://appletsapi.52solution.com/media/X3568V4%E5%BC%80%E5%8F%91%E6%9D%BF%E7%A1%AC%E4%BB%B6%E6%89%8B%E5%86%8C.pdf
- https://blog.gov.cooking/archives/research-ninetripod-x3568-v4-and-flash.html

---
 board/rockchip/evb_rk3568/MAINTAINERS     |  5 ++
 configs/9tripod-x3568-v4-rk3568_defconfig | 79 +++++++++++++++++++++++
 doc/board/rockchip/rockchip.rst           |  1 +
 3 files changed, 85 insertions(+)
 create mode 100644 configs/9tripod-x3568-v4-rk3568_defconfig
board/rockchip/evb_rk3568/MAINTAINERS +5 -0
index 7e17a6a987a..9ae22ce6845 100644
@@ -1,3 +1,8 @@
+9TRIPOD-X3568-V4
+M:	Coia Prant <[email protected]>
+S:	Maintained
+F:	configs/9tripod-x3568-v4-rk3568_defconfig
+
 BANANAPI-BPI-R2-PRO
 M:	Frank Wunderlich <[email protected]>
 S:	Maintained
configs/9tripod-x3568-v4-rk3568_defconfig new file +79 -0

79 lines not on this page · raw message

doc/board/rockchip/rockchip.rst +1 -0
index a31ee7100b9..0c996cf880b 100644
@@ -126,6 +126,7 @@ List of mainline supported Rockchip boards:
      - Xunlong Orange Pi 3B (orangepi-3b-rk3566)
 
 * rk3568
+     - 9Tripod X3568 v4 (9tripod-x3568-v4-rk3568)
      - Rockchip Evb-RK3568 (evb-rk3568)
      - Banana Pi BPI-R2 Pro (bpi-r2-pro-rk3568)
      - EmbedFire LubanCat 2 (lubancat-2-rk3568)
Signature · 1 line
2.53.0
#1 lore raw

Hi Coia,

Quoted 94 lines · Coia Prant

The 9Tripod X3568 v4 is an RK3568-based SBC, just like the RK3568-EVB. It always uses soldered connections between the X3568CV2/X3568CV3/X3568CV4 core board and the X3568bv4 I/O board.

The differences between the core boards
- PCB size, layout
- CPU (RKK3568B2/RK3568J)
- Memory type (DDR4/LPDDR4/LPDDR4X) and size
- eMMC size
- DSI/EDP resistor values
Although the components vary, they maintain full compatibility.

The X3568 board has multiple hardware revisions, and we currently support v4 (I/O board).

Specification:
- SoC: RockChip RK3568 ARM64 (4 cores)
- eMMC: 16-128 GB
- RAM: 2-16 GB
- Power: DC 12V 2A
- Ethernet: 2x YT8521SC RGMII (10/100/1000 Mbps)
- Wireless radio: 802.11b/g/n/ac/ax dual-band
- LED:
Power: AlwaysOn
User: GPIO
- Button:

   VOL+: SARADC/0 <35k µV>
   VOL-: SARADC/0 <450k µV>
   Power/Reset: PMIC RK809

- CAN
CAN/1: 4-pin (PH 2.0)
- PWM
PWM/4: Backlight DSI/0 DSI/1
PWM/7: IR Receiver [may not install]
- UART:

   UART/2: Debug TTL - 1500000 8N1 (1.25mm)
   UART/3: TTL (PH 2.0)
   UART/4: TTL (PH 2.0)
   UART/8: AP6275S Bluetooth
   UART/9: TTL (PH 2.0)
- I2C:
   I2C/0: PMIC RK809
   I2C/1: Touchscreen DSI/0 DSI/1
   I2C/4: Camera
   I2C/5: RTC@51 PCF8563
- I2S:
   I2S/0: miniHDMI Sound
   I2S/1: RK809 Audio Codec
   I2S/3: AP6275S Bluetooth Sound

- SDMMC:
SDMMC/0: microSD (TF) slot
SDMMC/2: AP6275S SDIO WiFi card
- Camera: 1x CSI
- Video: miniHDMI / DSI0 (MIPI/LVDS) / DSI1 (MIPI/EDP)
- Audio: miniHDMI / MIC on-board / Speaker / SPDIF / 3.5mm Headphones / AP6275S Bluetooth
- USB:

   USB 2.0 HOST x2
   USB 2.0 HOST x3 (4-pin)
   USB 2.0 OTG x1 (shared with USB 3.0 OTG/HOST) [slot may not install]
   USB 3.0 HOST x1
   USB 3.0 OTG/HOST x1

- SATA: 1x SATA 3.0 with Power/4-pin [slot may not install]
- PCIe: 1x PCIe 3.0 x2 (x4 connecter) [power/clock/slot may not install]

Link:
- https://appletsapi.52solution.com/media/X3568V4%E5%BC%80%E5%8F%91%E6%9D%BF%E7%A1%AC%E4%BB%B6%E6%89%8B%E5%86%8C.pdf
- https://blog.gov.cooking/archives/research-ninetripod-x3568-v4-and-flash.html

---
  board/rockchip/evb_rk3568/MAINTAINERS     |  5 ++
  configs/9tripod-x3568-v4-rk3568_defconfig | 79 +++++++++++++++++++++++
  doc/board/rockchip/rockchip.rst           |  1 +
  3 files changed, 85 insertions(+)

create mode 100644 configs/9tripod-x3568-v4-rk3568_defconfig

board/rockchip/evb_rk3568/MAINTAINERS +5 -0
index 7e17a6a987a..9ae22ce6845 100644
@@ -1,3 +1,8 @@
+9TRIPOD-X3568-V4
+M:	Coia Prant <[email protected]>
+S:	Maintained
+F:	configs/9tripod-x3568-v4-rk3568_defconfig
+
  BANANAPI-BPI-R2-PRO
  M:	Frank Wunderlich <[email protected]>
  S:	Maintained
configs/9tripod-x3568-v4-rk3568_defconfig new file +0 -0
new file mode 100644
index 00000000000..044dfe9452c

configs/9tripod-x3568-v4-rk3568_defconfig line 3

Quoted 3 lines
configs/9tripod-x3568-v4-rk3568_defconfig new file +3 -0
@@ -0,0 +1,79 @@
+CONFIG_ARM=y
+CONFIG_SKIP_LOWLEVEL_INIT=y
+CONFIG_SYS_HAS_NONCACHED_MEMORY=y

This cannot be enabled because you don't have CONFIG_RTL8169 enabled.

There are a bunch of other symbols that are in this defconfig that don't need to be or are not applicable. Can you please send a v3 after running make savedefconfig and copying defconfig to configs/9tripod-x3568-v4-rk3568_defconfig?

If you edited the defconfig by hand, please avoid as it's error-prone, simply use make menuconfig and enable the options you want through the menu (and save before exiting). Then run make savedefconfig as instructed above to get the defconfig to put into the source code.

Cheers,
Quentin

author
#2 lore raw
Quoted 14 lines

configs/9tripod-x3568-v4-rk3568_defconfig line 3

Quoted 6 lines
configs/9tripod-x3568-v4-rk3568_defconfig new file +3 -0
@@ -0,0 +1,79 @@
+CONFIG_ARM=y
+CONFIG_SKIP_LOWLEVEL_INIT=y
+CONFIG_SYS_HAS_NONCACHED_MEMORY=y

This cannot be enabled because you don't have CONFIG_RTL8169 enabled.

There are a bunch of other symbols that are in this defconfig that don't need to be or are not applicable. Can you please send a v3 after running make savedefconfig and copying defconfig to configs/9tripod-x3568-v4-rk3568_defconfig?

Quoted 7 lines

If you edited the defconfig by hand, please avoid as it's error-prone, simply use make menuconfig and enable the options you want through the menu (and save before exiting). Then run make savedefconfig as instructed above to get the defconfig to put into the source code.

Cheers,
Quentin

Yeah, Let me use "make savedefconfig".
Thanks.

Cheers,
Coia