-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
WIP: rockchip: Add Ariaboard Photonicat 2 support to edge kernel #8665
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
HackingGate
wants to merge
6
commits into
armbian:main
Choose a base branch
from
HackingGate:add-photonicat2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
3569b88
board: photonicat2: add u-boot patches
HackingGate d2efbbe
board: photonicat2: add initial support
HackingGate 1f2a0ed
board: photonicat2: add dts in rockchip64-6.16
HackingGate afaba34
board: photonicat2: add PWM device nodes for rk3576
HackingGate a3e59ee
board: photonicat2: add device tree source for rk3576 support
HackingGate 06993dd
board: photonicat2: enable and add support for various Ethernet and U…
HackingGate File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Rockchip RK3576 SoC octa core 4-16GB LPDDR5 RAM SoC 2x GbE eMMC USB3 HDMI WIFI | ||
|
||
BOARD_NAME="Photonicat2" | ||
BOARDFAMILY="rk35xx" | ||
BOOT_SOC="rk3576" | ||
BOOTCONFIG="photonicat2-rk3576_defconfig" | ||
KERNEL_TARGET="edge" | ||
FULL_DESKTOP="yes" | ||
BOOT_LOGO="desktop" | ||
BOOT_FDT_FILE="rockchip/rk3576-photonicat2.dtb" | ||
BOOT_SCENARIO="spl-blobs" | ||
IMAGE_PARTITION_TABLE="gpt" | ||
ENABLE_EXTENSIONS="radxa-aic8800" | ||
AIC8800_TYPE="usb" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -883,7 +883,8 @@ CONFIG_ROCKER=m | |
CONFIG_SFC_SIENA=m | ||
CONFIG_SMC91X=y | ||
CONFIG_SMSC911X=y | ||
CONFIG_STMMAC_ETH=m | ||
CONFIG_STMMAC_ETH=y | ||
CONFIG_STMMAC_PLATFORM=y | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Required to enable Ethernet on photonicat2. |
||
CONFIG_MSE102X=m | ||
CONFIG_XILINX_EMACLITE=m | ||
CONFIG_XILINX_LL_TEMAC=m | ||
|
@@ -912,6 +913,7 @@ CONFIG_NATIONAL_PHY=m | |
CONFIG_NXP_C45_TJA11XX_PHY=m | ||
CONFIG_AT803X_PHY=m | ||
CONFIG_QSEMI_PHY=m | ||
CONFIG_REALTEK_PHY=y | ||
CONFIG_ROCKCHIP_PHY=y | ||
CONFIG_DP83TC811_PHY=m | ||
CONFIG_DP83848_PHY=m | ||
|
@@ -2329,6 +2331,9 @@ CONFIG_SND_AUDIO_GRAPH_CARD2_CUSTOM_SAMPLE=m | |
CONFIG_SND_TEST_COMPONENT=m | ||
CONFIG_SND_XEN_FRONTEND=m | ||
CONFIG_SND_VIRTIO=m | ||
CONFIG_HID_SUPPORT=y | ||
CONFIG_HID=y | ||
CONFIG_HID_GENERIC=m | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. USB HID devices may not work on photonicat2 after boot, adding these configs seems to made it stable. |
||
CONFIG_HID_BATTERY_STRENGTH=y | ||
CONFIG_HIDRAW=y | ||
CONFIG_UHID=m | ||
|
@@ -2448,6 +2453,10 @@ CONFIG_USB_HIDDEV=y | |
CONFIG_USB_LED_TRIG=y | ||
CONFIG_USB_CONN_GPIO=m | ||
CONFIG_USB=y | ||
CONFIG_USB_SUPPORT=y | ||
CONFIG_USB_COMMON=y | ||
CONFIG_USB_ACM=m | ||
CONFIG_USB_WDM=m | ||
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y | ||
CONFIG_USB_OTG=y | ||
CONFIG_USB_OTG_FSM=m | ||
|
@@ -2469,7 +2478,7 @@ CONFIG_USB_PRINTER=m | |
CONFIG_USB_TMC=m | ||
CONFIG_USB_STORAGE=y | ||
CONFIG_USB_STORAGE_REALTEK=m | ||
# CONFIG_REALTEK_AUTOPM is not set | ||
CONFIG_REALTEK_AUTOPM=y | ||
CONFIG_USB_STORAGE_DATAFAB=m | ||
CONFIG_USB_STORAGE_FREECOM=m | ||
CONFIG_USB_STORAGE_ISD200=m | ||
|
20 changes: 20 additions & 0 deletions
20
patch/kernel/archive/rockchip64-6.16/board-photonicat2.patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: HackingGate <[email protected]> | ||
Date: Sat, 27 Sep 2025 13:21:54 +0900 | ||
Subject: board: photonicat2: add device tree source for rk3576 support | ||
--- | ||
arch/arm64/boot/dts/rockchip/Makefile | 1 + | ||
1 files changed, 1 insertion(+) | ||
|
||
diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile | ||
index 111111111111..222222222222 100644 | ||
--- a/arch/arm64/boot/dts/rockchip/Makefile | ||
+++ b/arch/arm64/boot/dts/rockchip/Makefile | ||
@@ -144,6 +144,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-wolfvision-pf5-display-vz.dtbo | ||
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-wolfvision-pf5-io-expander.dtbo | ||
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-armsom-sige5.dtb | ||
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-evb1-v10.dtb | ||
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-photonicat2.dtb | ||
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-roc-pc.dtb | ||
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-rock-4d.dtb | ||
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3582-radxa-e52c.dtb |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A standard support board (.conf file extension) must have a known board maintainer. Otherwise it must use file ending .csc (community supported).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have renamed it to .csc.
I have also changed it to only target edge kernel as I only tested it.