Skip to content

Commit

Permalink
Add support for Recore (#5351)
Browse files Browse the repository at this point in the history
* Add support for Recore

Signed-off-by: Elias Bakken <elias@iagent.no>

* Add board maintainter to boad config

Signed-off-by: Elias Bakken <elias@iagent.no>

---------

Signed-off-by: Elias Bakken <elias@iagent.no>
  • Loading branch information
eliasbakken committed Jun 19, 2023
1 parent 5ae7a4c commit 2aec6c2
Show file tree
Hide file tree
Showing 4 changed files with 1,591 additions and 6 deletions.
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
}

0 comments on commit 2aec6c2

Please sign in to comment.