build/config/boards/recore.csc

27 lines
899 B
Plaintext
Raw Normal View History

# Allwinner A64 quad core 1GB RAM SoC GBE for 3D printers
BOARD_NAME="Iagent Recore"
BOARDFAMILY="sun50iw1"
BOOTCONFIG="recore_defconfig"
KERNEL_TARGET="legacy,current"
MODULES="g_serial"
BOOT_LOGO="yes"
BOARD_MAINTAINER="eliasbakken"
function post_family_config__shrink_atf() {
display_alert "Shrink ATF" "🍰 recore"
declare -g ATF_TARGET_MAP="PLAT=$ATF_PLAT DEBUG=0 SUNXI_PSCI_USE_SCPI=0 bl31;;build/$ATF_PLAT/release/bl31.bin"
display_alert "Compile without SCP binary" "🍰 recore"
UBOOT_TARGET_MAP="SCP=/dev/null;;u-boot-sunxi-with-spl.bin"
}
function format_partitions__make_boot_ro() {
display_alert "Making boot partition ro" "🍰 recore"
sed -i 's:/boot ext4 defaults,commit=600,errors=remount-ro:/boot ext4 ro,defaults:' $SDCARD/etc/fstab
}
function extension_finish_config__enable_plymouth() {
display_alert "Enable Plymouth on minimal build" "🍰 recore"
PLYMOUTH=yes
}