Skip to content

Commit

Permalink
Testbuild EMMC
Browse files Browse the repository at this point in the history
  • Loading branch information
eazrael committed May 31, 2024
1 parent 6e62ea0 commit 9b39bc7
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-armbian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ jobs:
armbian_token: "${{ secrets.GITHUB_TOKEN }}" # GitHub token
armbian_release: "bookworm" # userspace
armbian_target: "build" # build=image, kernel=kernel
armbian_board: "artilleryx4" # build target
armbian_board: "artilleryx4-emmc" # build target

44 changes: 44 additions & 0 deletions config/boards/artilleryx4-emmc.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Rockchip RK3328 in Artillery3D X4 Pro/Plus 3D-printer
# Makerbase MKS based board
# Quad core eMMC USB3 WIFI
VENDOR="Armbian"
BOARD_NAME="Artillery3D X4 Pro/Plus EMMC"
BOARDFAMILY="rockchip64"
BOARD_MAINTAINER="eazrael"
BOOTCONFIG="roc-cc-rk3328_defconfig"
BUILD_MINIMAL="no"
KERNEL_TARGET="current,edge"
SOURCE_COMPILE="yes"

# It's a printer
HAS_VIDEO_OUTPUT="no"
BUILD_DESKTOP="no"
FULL_DESKTOP="no"
BOOT_LOGO="no"
WIREGUARD="no"

#Settings for the internal emmc space
FIXED_IMAGE_SIZE="7456"
ROOTFS_TYPE="f2fs"
#ROOTFS_TYPE="ext4"
BOOTSIZE="256"
BOOTFS_TYPE="fat"
AUFS="no"
COMPRESS_OUTPUTIMAGE="sha,xz"
IMAGE_XZ_COMPRESSION_RATIO=9

# change "Armbian-unofficial
# No wireguard in a printer...
#PACKAGE_LIST_BOARD="xterm file armbian-config iotop-c"
PACKAGE_LIST_BOARD="xterm file iotop-c i2c-tools spi-tools"
PACKAGE_LIST_BOARD_REMOVE="linux-dtb-current-rockchip64"
REPOSITORY_INSTALL="armbian-config armbian-firmware"

function post_family_tweaks__artillerxy_some_tweaks() {
display_alert "$BOARD" "Disabling ramlog" "info"
chroot_sdcard systemctl disable armbian-ramlog

display_alert "$BOARD" "Disabling default device trees" "info"
chroot_sdcard apt-mark hold linux-dtb-current-rockchip64
return 0
}

0 comments on commit 9b39bc7

Please sign in to comment.