-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
base: main
Are you sure you want to change the base?
Changes from all commits
a1c6231
7b14bf4
2d71562
b318ca5
1e4a135
a49c5a0
2638571
8ae804c
52a3fa2
e08ad99
b9b8c84
92bd8e2
16bac61
3c82c5b
21a523f
85e8858
084b290
b05683d
a7d6907
bba19ba
ee13ecb
f652a74
1d1caf7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| # Rockchip RK3576 octa core 4-16GB 2x GbE eMMC HDMI WiFi USB3 3x M.2 (B/E/M-Key) | ||
|
|
||
| BOARD_NAME="Photonicat2" | ||
| BOARDFAMILY="rk35xx" | ||
| BOOT_SOC="rk3576" | ||
| BOOTCONFIG="photonicat2-rk3576_defconfig" | ||
| KERNEL_TARGET="edge" | ||
| FULL_DESKTOP="no" | ||
| BOOT_FDT_FILE="rockchip/rk3576-photonicat2.dtb" | ||
| BOOT_SCENARIO="spl-blobs" | ||
| IMAGE_PARTITION_TABLE="gpt" | ||
| BOARD_FIRMWARE_INSTALL="-full" | ||
| ENABLE_EXTENSIONS="radxa-aic8800" | ||
| AIC8800_TYPE="usb" | ||
|
|
||
| # Add cellular modem support packages | ||
| function post_family_config__photonicat2_modem_packages() { | ||
| display_alert "$BOARD" "Adding cellular modem packages" "info" | ||
| add_packages_to_image "modemmanager" | ||
| add_packages_to_image "libqmi-utils" | ||
| add_packages_to_image "libmbim-utils" | ||
| add_packages_to_image "usb-modeswitch" | ||
| add_packages_to_image "libxml2-utils" | ||
| } | ||
|
Contributor
Author
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. CONFIG_PHOTONICAT_PM CONFIG_PWM_ROCKCHIP_V4 These 4 are newly introduced in this PR, so should I have them default Other config changes in the diff also presents in other families with that value, so I assume it's OK. |
Uh oh!
There was an error while loading. Please reload this page.
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.
Use rockchip64 family for edge kernel, not rk35xx.
Per EvilOlaf's comment in the PR, rk35xx is only relevant for vendor kernel. Since this board targets the edge kernel, it should use
BOARDFAMILY="rockchip64"instead to align with the merged rockchip64 family for current and edge kernels.Based on learnings
Apply this diff:
📝 Committable suggestion
🤖 Prompt for AI Agents
Uh oh!
There was an error while loading. Please reload this page.
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.
BOARDFAMILY="rk35xx"as all other rk3576 boards stay on.If change to
BOARDFAMILY="rockchip64", the build will switch to mainline u-boot from Radxa’s U-Boot fork, despite mainline's seems already supporting rk3576, as no other rk3576 boards on Armbian has migrated yet. I'd like to stay on Radxa's for ease for now.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.
🧩 Analysis chain
🏁 Script executed:
Length of output: 20652
🏁 Script executed:
Length of output: 27886
@HackingGate, you're absolutely right, and I apologize for the confusion. After checking the codebase, I can confirm that all other rk3576 boards (radxa-rock-4d, radxa-cm4-io, nanopi-r76s, nanopi-m5, dshanpi-a1, armsom-sige5, armsom-cm5-rpi-cm4-io, armsom-cm5-io) use
BOARDFAMILY="rk35xx", including several that target the edge kernel.The key point I initially missed is that the
rk35xx.conffamily configuration sourcesrockchip64_common.incat the beginning, which defines both thecurrentandedgekernel branches withLINUXFAMILY=rockchip64. This means edge kernel support is available through the rk35xx family, even though it's not defined directly in rk35xx.conf itself.You should keep
BOARDFAMILY="rk35xx"as you have it—this follows the established pattern for all rk3576 boards in the codebase.🐰
( ••)
/| |
|___|
|| ||
learns from the codebase
✏️ Learnings added
⛔ Learnings removed
🧠 Learnings used