Tong 6c87c66153
Add Ariaboard Photonicat 2 support for rockchip64-6.18 (#9535)
* Add Ariaboard Photonicat 2 support for rockchip64-6.18

Board configuration:
- config/boards/photonicat2.csc

Kernel config:
- config/kernel/linux-rockchip64-current.config

Device tree:
- patch/kernel/archive/rockchip64-6.18/dt/rk3576-photonicat2.dts

RK3576 SoC patches (rockchip64-6.18):

  0001 gpio: rockchip: set input direction when request irq
    Author: Ye Zhang <ye.zhang@rock-chips.com>
    Source: [PATCH v5 4/4] gpio: rockchip: Update the GPIO driver
    https://lore.kernel.org/r/20241112015408.3139996-5-ye.zhang@rock-chips.com
    Series: https://lore.kernel.org/r/20241112015408.3139996-1-ye.zhang@rock-chips.com

  0002 mmc: dw_mmc-rockchip: add v2 tuning support
    Author: Shawn Lin <shawn.lin@rock-chips.com>
    Posted-by: Detlev Casanova <detlev.casanova@collabora.com>
    Source: [PATCH v3 2/3] Add dw_mmc support for rk3576
    https://lore.kernel.org/r/20240814223555.3695-3-detlev.casanova@collabora.com
    Series: https://lore.kernel.org/r/20240814223555.3695-1-detlev.casanova@collabora.com

  0003 pmdomain: rockchip: Add always on configuration
    Author: Finley Xiao <finley.xiao@rock-chips.com>
    Source: Rockchip BSP (not posted to lore.kernel.org)

  0004 dt-bindings: pwm: Add a new binding for rockchip,rk3576-pwm
  0005 mfd: Add Rockchip mfpwm driver
  0006 pwm: Add rockchip PWMv4 driver
  0007 counter: Add rockchip-pwm-capture driver
  0008 arm64: dts: rockchip: add PWM nodes to RK3576 SoC dtsi
    Author: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
    Source: [PATCH v3 0/5] Add Rockchip RK3576 PWM Support Through MFPWM
    https://lore.kernel.org/r/20251027-rk3576-pwm-v3-0-654a5cb1e3f8@collabora.com

  0009 arm64: dts: rockchip: add dma-coherent for pcie and gmac of RK3576
    Author: Shawn Lin <shawn.lin@rock-chips.com>
    Source: https://lore.kernel.org/r/1764313762-78063-1-git-send-email-shawn.lin@rock-chips.com

U-Boot:
- patch/u-boot/v2026.01/board_photonicat2/

BSP:
- extensions/photonicat-pm.sh

* Rebase patch against v6.18.19

* photonicat-pm: replace wget with curl for DKMS package download
2026-03-23 11:08:45 +01:00
..
2026-03-23 11:03:05 +01:00
2026-01-08 12:29:01 +01:00
2026-01-15 18:11:52 +03:00
2026-01-15 18:11:52 +03:00
2026-01-15 18:11:52 +03:00
2026-02-03 07:44:57 -05:00
2026-01-08 10:44:28 +01:00
2026-01-14 20:07:49 +01:00
2026-03-23 11:03:29 +01:00
2026-02-28 22:29:33 +01:00

Internal build options

These options are used to declare variables used by the armbian build system to build a board-specific configuration.

If you are unsure about the documentation then invoke $ grep -r -A5 -B5 "BUILD_OPTION_HERE" /path/to/local/armbian/build/repository to get context to the option from the source code.

  • BOARD_NAME ( company product version ): defines the board name used in welcome text, hostname and others relevant usage.The general convention is COMPANY PRODUCT VERSION - Often used as part of the scripting logic (namely for hacks) so follow the name declared in the board configuration.
    • Example: OLIMEX Teres A64
  • BOARDFAMILY ( board-family ): defines the family of the board to apply board-specific configuration during build time such as adjustments for the temperature, LED behavior, etc..
  • BOARD_MAINTAINER ( space-separated list of Github login ): Declares the maintainer of the board
  • BOOTCONFIG ( u-boot identifier ): declares the name of the u-boot configuration for the build without the '_defconifig' suffix
  • BOOTSIZE ( int ): Declares the size of the boot partitin in Mib
    • Default: 256
    • Example: 256
  • BOOT_LOGO ( string ): defines whether to use a eyecandy during bootloader phase
    • Values:
      • yes: Show the armbian boot logo
      • desktop: Show the armbian boot logo when BUILD_DESKTOP is set to yes
    • Default: not set
  • CRUSTCONFIG ( crust identifier ): declares the name of the crust defconfig configuration for the build. Specify only if the board has Allwinner CPU with AR100 coprocessor and SOC is supported by crust firmware.
    • Refer to the crust source tree to find configuration for the board
    • Example: nanopi_m1_defconfig
  • IMAGE_PARTITION_TABLE ( string ): defines which disklabel type to use
    • Values:
      • msdos: Use dos/msdos disklabel
      • gpt: Use GPT disklabel
    • Default: msdos
  • BOOTFS_TYPE ( filesystem ): defines the expected filesystem for the boot file system
  • DEFAULT_OVERLAYS ( space-separated list list of dtb overlays ): defines dtb overlays that are enabled by default. There is a basic dtb for each family but they have different level of used SoC features. Board X might have four USB ports but others might not. Therefore other does not need to have those enabled while board X does.
    • Examples:
      • usbhost0
      • usbhost2
      • usbhost3
      • cir
      • analog-codec
      • gpio-regulator-1.3v
      • uart1
  • DEFAULT_CONSOLE ( string ): declares default console for the boot output
    • Values:
      • serial: Output boot messages to serial console
    • Default: not set
  • MODULES ( space-separated list of kernel modules ): appends modules to the kernel command line for all kernel branches
  • MODULES_LEGACY ( space-separated list of kernel modules ): appends modules to the kernel command line for legacy kernel
  • MODULES_CURRENT ( space-separated list of kernel modules ): appends modules to the kernel command line for current kernel
  • MODULES_EDGE ( space-separated list of kernel modules ): appends modules to the kernel command line for edge kernel
  • MODULES_BLACKLIST ( space-separated list of kernel modules ): appends modules to the kernel's blacklist/deny list for all kernel branches
  • MODULES_BLACKLIST_LEGACY ( space-separated list of kernel modules ): appends modules to the kernel's blacklist/deny list for legacy kernel
  • MODULES_BLACKLIST_CURRENT ( space-separated list of kernel modules ): appends modules to the kernel's blacklist/deny list for current kernel
  • MODULES_BLACKLIST_EDGE ( space-separated list of kernel modules ): appends modules to the kernel's blacklist/deny list for edge kernel
  • SERIALCON ( comma-separated list of terminal interfaces [:bandwidth] ): declares which serial console should be used on the system
    • Example: ttyS0:15000000,ttyGS1
  • SKIP_ARMBIAN_REPO ( boolean ): Whether to include the armbian repository in the built image
    • Values:
      • yes: Include (default)
      • no: Do NO include
  • POWER_MANAGEMENT_FEATURES (boolean): Controls whether system sleep functionality (suspend, hibernate, hybrid sleep) is allowed on the built image.
    • Values:
      • yes: Enable power-management sleep features (allow systemd sleep modes)
      • no: Disable all sleep modes (default), as suspend/hibernate are unstable on most single-board computers
  • HAS_VIDEO_OUTPUT ( boolean ): defines whether the system has video output such as eye candy, bootsplash, etc..
    • Values:
      • yes: Enable video-related configuration
      • no: Disable video-related configuration
  • KERNEL_TARGET ( comma-separated list of kernel releases or branches ): declares which kernels should be used for the build
    • Values:
      • legacy: Use legacy kernel
      • current: Use current kernel
      • edge: Use edge kernel
      • [branch]: Use specified [branch] kernel
      • [none]: Exits with error
  • KERNEL_TEST_TARGET ( comma-separated list of kernel releases or branches ): if test targets are different for testings. Also applies to build list generation. (internal switch)
  • FULL_DESKTOP ( boolean ): defines whether to install desktop stack of applications such as office, thunderbird, etc..
    • Values:
      • yes: install desktop stack
      • no: doesn't install desktop stack
  • DESKTOP_AUTOLOGIN ( boolean ): Toggle desktop autologin
    • Values:
      • yes: Automatically login to the desktop
      • no: disable desktop autologin
    • Default: no
  • PACKAGE_LIST_BOARD ( space-separated list of packages ): Declares which packages should be installed on the system
  • PACKAGE_LIST_BOARD_REMOVE ( space-separated list of packages ): Declares packages to be removed from the system
  • BOOT_FDT_FILE ( device tree configuration ): Force to load specific device tree configuration if different from the one defined by u-boot
    • Values:
      • [family]/[file.dtb]: Replace device tree with the one specified
      • none: Do not use device tree configuration
    • Example: rockchip/rk3568-rock-3-a.dtb
  • CPUMIN ( minimum CPU frequency to scale in Hz ): Set minimal CPU frequency of the system
    • Default: Differs per family 480000 for sunxi8 boards
  • CPUMAX ( minimum CPU frequency to scale in Hz ): Set maximal CPU frequency of the system
    • Default: Differs per family 1400000 for sunxi8 boards
  • FORCE_BOOTSCRIPT_UPDATE ( boolean ): Force bootscript installation if they are not present
    • Values:
      • yes: Enable
      • no: Disable
  • OVERLAY_PREFIX ( prefix ): Prefix for device tree and overlay file paths which will be set while creating an image
    • Example: sun8i-h3

Deprecated

  • BOOTCONFIG_LEGACY ( u-boot identifier ): use BOOTCONFIG instead
  • BOOTCONFIG_CURRENT ( u-boot identifier ): use BOOTCONFIG instead
  • BOOTCONFIG_EDGE ( u-boot identifier ): use BOOTCONFIG instead
  • PACKAGE_LIST_BOARD_DESKTOP ( space-separated list of packages ): use PACKAGE_LIST_BOARD instead
  • PACKAGE_LIST_BOARD_DESKTOP_REMOVE ( space-separated list of packages ): use PACKAGE_LIST_BOARD instead

File extensions

Statuses displayed at the login prompt:

file type description
.csc or .tvb community creations or no active maintainer
.wip work in progress
.eos end of life