forked from armbian/build
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add bananapim6astra2.conf for sl1620 v1.4
- Loading branch information
1 parent
62e90e3
commit 4d3d485
Showing
58 changed files
with
511 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Synaptics SL1620 SoC quad core A73(2.1Ghz) 4GB SoC eMMC USB3 | ||
BOARD_NAME="Banana Pi M6PRO SL1620 EVK" | ||
BOARDFAMILY="sl1620v4" | ||
VENDOR="Armbian-bpi-senarytech" | ||
BOOTCONFIG="vs680_oemboot_c05_defconfig" | ||
KERNEL_TARGET="legacy" | ||
FULL_DESKTOP="yes" | ||
BOOT_LOGO="desktop" | ||
WIREGUARD="no" | ||
# | ||
USE_HOOK_FOR_PARTITION="yes" | ||
rootpart=12 | ||
FIXED_IMAGE_SIZE=9137 | ||
IMAGE_PARTITION_TABLE="gpt" | ||
#OFFSET="100" | ||
#BOOT_FS_LABEL="BPI-BOOT" | ||
ROOT_FS_LABEL="rootfs_a" | ||
#BOOTSIZE="256" | ||
SKIP_BOOTSPLASH="yes" # Skip boot splash patch, conflicts with CONFIG_VT=yes | ||
#BOOTFS_TYPE="fat" | ||
# | ||
declare -g INSTALL_ARMBIAN_FIRMWARE=no | ||
declare -g ARMBIAN_CONFIG_SOURCE="https://gitee.com/bananapi/config" | ||
|
||
function post_family_tweaks__bananapim6_naming_audios() { | ||
display_alert "$BOARD" "Renaming bananapim6 audios" "info" | ||
|
||
mkdir -p $SDCARD/etc/udev/rules.d/ | ||
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmi0-sound", ENV{SOUND_DESCRIPTION}="HDMI0 Audio"' > $SDCARD/etc/udev/rules.d/90-naming-audios.rules | ||
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmi1-sound", ENV{SOUND_DESCRIPTION}="HDMI1 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules | ||
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmiin-sound", ENV{SOUND_DESCRIPTION}="HDMI-In Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules | ||
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-dp0-sound", ENV{SOUND_DESCRIPTION}="DP0 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules | ||
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-es8316-sound", ENV{SOUND_DESCRIPTION}="ES8316 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules | ||
|
||
return 0 | ||
} | ||
|
||
# Override family config for this board; let's avoid conditionals in family config. | ||
function post_family_config__bananapim6_use_vendor_uboot() { | ||
#BOOTSOURCE='https://github.com/BPI-SINOVOIP/pi-u-boot.git' | ||
BOOTSOURCE='https://gitee.com/bananapi/pi-u-boot.git' | ||
BOOTBRANCH='branch:v2019.10-vs680-hdmi-rx' | ||
BOOTPATCHDIR="legacy" | ||
} | ||
|
||
function post_family_config__bananapim6_use_vendor_kernel() { | ||
declare -g KERNEL_MAJOR_MINOR="5.4" # Major and minor versions of this kernel. | ||
#KERNELSOURCE='https://github.com/BPI-SINOVOIP/pi-linux.git' | ||
KERNELSOURCE='https://gitee.com/bananapi/pi-linux.git' | ||
KERNELBRANCH='branch:pi-5.4-vs680-hdmi-rx' | ||
KERNELPATCHDIR="legacy" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Synaptics SL1620 SoC quad core A73(2.1Ghz) 4GB SoC eMMC USB3 | ||
BOARD_NAME="Banana Pi M6PRO SL1620 EVK" | ||
BOARDFAMILY="sl1620v4" | ||
VENDOR="Armbian-bpi-senarytech" | ||
BOOTCONFIG="vs680_oemboot_c05_defconfig" | ||
KERNEL_TARGET="legacy" | ||
FULL_DESKTOP="yes" | ||
BOOT_LOGO="desktop" | ||
WIREGUARD="no" | ||
# | ||
USE_HOOK_FOR_PARTITION="yes" | ||
rootpart=12 | ||
FIXED_IMAGE_SIZE=9137 | ||
IMAGE_PARTITION_TABLE="gpt" | ||
#OFFSET="100" | ||
#BOOT_FS_LABEL="BPI-BOOT" | ||
ROOT_FS_LABEL="rootfs_a" | ||
#BOOTSIZE="256" | ||
SKIP_BOOTSPLASH="yes" # Skip boot splash patch, conflicts with CONFIG_VT=yes | ||
#BOOTFS_TYPE="fat" | ||
|
||
function post_family_tweaks__bananapim6_naming_audios() { | ||
display_alert "$BOARD" "Renaming bananapim6 audios" "info" | ||
|
||
mkdir -p $SDCARD/etc/udev/rules.d/ | ||
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmi0-sound", ENV{SOUND_DESCRIPTION}="HDMI0 Audio"' > $SDCARD/etc/udev/rules.d/90-naming-audios.rules | ||
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmi1-sound", ENV{SOUND_DESCRIPTION}="HDMI1 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules | ||
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmiin-sound", ENV{SOUND_DESCRIPTION}="HDMI-In Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules | ||
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-dp0-sound", ENV{SOUND_DESCRIPTION}="DP0 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules | ||
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-es8316-sound", ENV{SOUND_DESCRIPTION}="ES8316 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules | ||
|
||
return 0 | ||
} | ||
|
||
# Override family config for this board; let's avoid conditionals in family config. | ||
function post_family_config__bananapim6_use_vendor_uboot() { | ||
BOOTSOURCE='https://github.com/BPI-SINOVOIP/pi-u-boot.git' | ||
BOOTBRANCH='branch:v2019.10-vs680-hdmi-rx' | ||
BOOTPATCHDIR="legacy" | ||
} | ||
|
||
function post_family_config__bananapim6_use_vendor_kernel() { | ||
declare -g KERNEL_MAJOR_MINOR="5.4" # Major and minor versions of this kernel. | ||
KERNELSOURCE='https://github.com/BPI-SINOVOIP/pi-linux.git' | ||
KERNELBRANCH='branch:pi-5.4-vs680-hdmi-rx' | ||
KERNELPATCHDIR="legacy" | ||
} |
Oops, something went wrong.