Skip to content
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

Add support for Recore #5351

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
31 changes: 25 additions & 6 deletions config/boards/recore.csc
@@ -1,7 +1,26 @@
# Allwinner A64 quad core 1GB RAM SoC GBE
BOARD_NAME="Recore"
# Allwinner A64 quad core 1GB RAM SoC GBE for 3D printers
BOARD_NAME="Iagent Recore"
BOARDFAMILY="sun50iw1"
BOARD_MAINTAINER=""
BOOTCONFIG="pine64_plus_defconfig"
KERNEL_TARGET="current,edge"
FULL_DESKTOP="no"
BOOTCONFIG="recore_defconfig"
KERNEL_TARGET="legacy,current"
MODULES="g_serial"
BOOT_LOGO="yes"
BOARD_MAINTAINER="eliasbakken"

function post_family_config__shrink_atf() {
echo "🍰Shrink ATF"
declare -g ATF_TARGET_MAP="PLAT=$ATF_PLAT DEBUG=0 SUNXI_PSCI_USE_SCPI=0 bl31;;build/$ATF_PLAT/release/bl31.bin"

echo "🍰Compile without SCP binary"
UBOOT_TARGET_MAP="SCP=/dev/null;;u-boot-sunxi-with-spl.bin"
}

function format_partitions__make_boot_ro() {
echo "🍰Making boot partition ro"
sed -i 's:/boot ext4 defaults,commit=600,errors=remount-ro:/boot ext4 ro,defaults:' $SDCARD/etc/fstab
}

function extension_finish_config__enable_plymouth() {
echo "🍰Enable Plymouth on minimal build"
PLYMOUTH=yes
}