Skip to content

Commit

Permalink
SpacemiT: BananaPi F3: update to BL v1.0.8
Browse files Browse the repository at this point in the history
Legacy: use TAG instead of BRANCH (gives us more control)
Current: update DTS files
Current: add needed patches up to v1.0.8
Fixup bluetooth node and disable by default (half broke anyway)
Misc fixups to bananapif3.wip and spacemit.conf file

Signed-off-by: Patrick Yavitz <[email protected]>
  • Loading branch information
Patrick Yavitz authored and pyavitz committed Jul 17, 2024
1 parent 36016c8 commit c5be5a8
Show file tree
Hide file tree
Showing 19 changed files with 3,694 additions and 469 deletions.
2 changes: 0 additions & 2 deletions config/boards/bananapif3.wip
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ function post_family_tweaks_bsp__bananapi_f3_extras() {

display_alert "$BOARD" "Force load wireless" "info"

run_host_command_logged mkdir -pv "${destination}"/etc/modprobe.d
run_host_command_logged echo "options 8852bs rtw_drv_log_level=0 rtw_phl_log_level=0" > "${destination}"/etc/modprobe.d/50-8852bs.conf
run_host_command_logged mkdir -pv "${destination}"/etc/modules-load.d
run_host_command_logged echo "8852bs" > "${destination}"/etc/modules-load.d/${BOARD}.conf
}
4 changes: 2 additions & 2 deletions config/sources/families/spacemit.conf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ case "${BRANCH}" in
legacy)
# Kernel
declare -g KERNELSOURCE='https://gitee.com/bianbu-linux/linux-6.1.git'
declare -g KERNELBRANCH='branch:bl-v1.0.y'
declare -g KERNELBRANCH='tag:v1.0.8'
declare -g KERNEL_MAJOR_MINOR="6.1"
declare -g LINUXCONFIG="linux-${LINUXFAMILY}-${BRANCH}"
declare -g KERNELPATCHDIR="${LINUXFAMILY}-legacy-${KERNEL_MAJOR_MINOR}" # Needed as long as both legacy and current are 6.1 kernels
Expand All @@ -65,7 +65,7 @@ function custom_kernel_config__spacemit_k1_firmware() {
}

pre_prepare_partitions() {
declare -g OFFSET="100"
declare -g OFFSET="4"
declare -g IMAGE_PARTITION_TABLE="msdos"
}

Expand Down
Loading

0 comments on commit c5be5a8

Please sign in to comment.